language: Export TArray

This commit is contained in:
David Nadlinger 2020-07-27 23:34:37 +01:00
parent dea3c0c572
commit 504b8f0148
1 changed files with 2 additions and 1 deletions

View File

@ -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