forked from M-Labs/artiq
language: Export TArray
This commit is contained in:
parent
dea3c0c572
commit
504b8f0148
|
@ -8,7 +8,7 @@ from artiq.compiler import types, builtins
|
||||||
__all__ = ["TNone", "TTuple",
|
__all__ = ["TNone", "TTuple",
|
||||||
"TBool", "TInt32", "TInt64", "TFloat",
|
"TBool", "TInt32", "TInt64", "TFloat",
|
||||||
"TStr", "TBytes", "TByteArray",
|
"TStr", "TBytes", "TByteArray",
|
||||||
"TList", "TRange32", "TRange64",
|
"TList", "TArray", "TRange32", "TRange64",
|
||||||
"TVar"]
|
"TVar"]
|
||||||
|
|
||||||
TNone = builtins.TNone()
|
TNone = builtins.TNone()
|
||||||
|
@ -21,6 +21,7 @@ TBytes = builtins.TBytes()
|
||||||
TByteArray = builtins.TByteArray()
|
TByteArray = builtins.TByteArray()
|
||||||
TTuple = types.TTuple
|
TTuple = types.TTuple
|
||||||
TList = builtins.TList
|
TList = builtins.TList
|
||||||
|
TArray = builtins.TArray
|
||||||
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)))
|
||||||
TVar = types.TVar
|
TVar = types.TVar
|
||||||
|
|
Loading…
Reference in New Issue