summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-01-22 16:34:53 +0100
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-01-23 13:04:34 +0100
commit351e66b76766bd5119b0af91b769fcc7768af097 (patch)
treed0024c4830a6e7b2a7bcfc99a03feedfa2961f73 /lib
parentd0bd5d5cc3407e14ff37590077ec40441be26c84 (diff)
downloadNim-351e66b76766bd5119b0af91b769fcc7768af097.tar.gz
Moves addr out of tutorial into manual, indexing it too.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/system.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 26e5ac228..130b8532f 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -38,7 +38,8 @@ type
   char* {.magic: Char.} ## built-in 8 bit character type (unsigned)
   string* {.magic: String.} ## built-in string type
   cstring* {.magic: Cstring.} ## built-in cstring (*compatible string*) type
-  pointer* {.magic: Pointer.} ## built-in pointer type
+  pointer* {.magic: Pointer.} ## built-in pointer type, use the ``addr``
+                              ## operator to get a pointer to a variable
 
 const
   on* = true    ## alias for ``true``