summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authordom96 <dominikpicheta@googlemail.com>2011-06-09 22:23:29 +0100
committerdom96 <dominikpicheta@googlemail.com>2011-06-09 22:23:29 +0100
commit8b98ba9a63a4ccbdb456802dda9b936baaa925b2 (patch)
tree4bd1ba9aabf64be808a63769653a5820f230c377 /lib/system.nim
parent3bc821aa5c676869d65f1448a005dfd47f197f61 (diff)
downloadNim-8b98ba9a63a4ccbdb456802dda9b936baaa925b2.tar.gz
Added typeinfo module
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim1
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".}