diff options
author | dom96 <dominikpicheta@googlemail.com> | 2011-06-09 22:23:29 +0100 |
---|---|---|
committer | dom96 <dominikpicheta@googlemail.com> | 2011-06-09 22:23:29 +0100 |
commit | 8b98ba9a63a4ccbdb456802dda9b936baaa925b2 (patch) | |
tree | 4bd1ba9aabf64be808a63769653a5820f230c377 /lib/system.nim | |
parent | 3bc821aa5c676869d65f1448a005dfd47f197f61 (diff) | |
download | Nim-8b98ba9a63a4ccbdb456802dda9b936baaa925b2.tar.gz |
Added typeinfo module
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-x | lib/system.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim index 5250a7ae7..e348bafea 100755 --- a/lib/system.nim +++ b/lib/system.nim @@ -1889,3 +1889,4 @@ proc `[]=`*[T](s: var seq[T], x: TSlice[int], b: openArray[T]) = else: raise newException(EOutOfRange, "differing lengths for slice assignment") +proc getTypeInfo*[T](x: T): pointer {.magic: "ToAny".} |