forked from M-Labs/artiq
language: export TTuple.
This commit is contained in:
parent
5a630067cb
commit
516c6fdea9
|
@ -6,7 +6,7 @@ annotations.
|
||||||
from artiq.compiler import types, builtins
|
from artiq.compiler import types, builtins
|
||||||
|
|
||||||
__all__ = ["TNone", "TBool", "TInt32", "TInt64", "TFloat",
|
__all__ = ["TNone", "TBool", "TInt32", "TInt64", "TFloat",
|
||||||
"TStr", "TList", "TRange32", "TRange64", "TVar"]
|
"TStr", "TTuple", "TList", "TRange32", "TRange64", "TVar"]
|
||||||
|
|
||||||
TNone = builtins.TNone()
|
TNone = builtins.TNone()
|
||||||
TBool = builtins.TBool()
|
TBool = builtins.TBool()
|
||||||
|
@ -14,6 +14,7 @@ TInt32 = builtins.TInt(types.TValue(32))
|
||||||
TInt64 = builtins.TInt(types.TValue(64))
|
TInt64 = builtins.TInt(types.TValue(64))
|
||||||
TFloat = builtins.TFloat()
|
TFloat = builtins.TFloat()
|
||||||
TStr = builtins.TStr()
|
TStr = builtins.TStr()
|
||||||
|
TTuple = types.TTuple
|
||||||
TList = builtins.TList
|
TList = builtins.TList
|
||||||
TRange32 = builtins.TRange(builtins.TInt(types.TValue(32)))
|
TRange32 = builtins.TRange(builtins.TInt(types.TValue(32)))
|
||||||
TRange64 = builtins.TRange(builtins.TInt(types.TValue(64)))
|
TRange64 = builtins.TRange(builtins.TInt(types.TValue(64)))
|
||||||
|
|
Loading…
Reference in New Issue