diff options
author | Araq <rumpf_a@web.de> | 2014-06-01 22:00:06 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-06-01 22:00:06 +0200 |
commit | be229163af18a5d31fc3656ced853d6857d885ee (patch) | |
tree | 2f98645c3b1e7e4153cb9d12be78a661820a6b42 /lib/system.nim | |
parent | cbe25a41b031ea8c36dce1b47c26fd7682e40a82 (diff) | |
parent | e6d12f3f6ee933f295dd83a64f5f0e6eba77e1d1 (diff) | |
download | Nim-be229163af18a5d31fc3656ced853d6857d885ee.tar.gz |
Merge branch 'new_spawn' of https://github.com/Araq/Nimrod into new_spawn
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/system.nim b/lib/system.nim index c69a335e4..dcfe42f2c 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -42,7 +42,6 @@ type cstring* {.magic: Cstring.} ## built-in cstring (*compatible string*) 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`` off* = false ## alias for ``false`` @@ -51,6 +50,9 @@ const type Ordinal* {.magic: Ordinal.}[T] + `ptr`* {.magic: Pointer.}[T] ## built-in generic untraced pointer type + `ref`* {.magic: Pointer.}[T] ## built-in generic traced pointer type + `nil` {.magic: "Nil".} expr* {.magic: Expr.} ## meta type to denote an expression (for templates) stmt* {.magic: Stmt.} ## meta type to denote a statement (for templates) @@ -2948,6 +2950,3 @@ when not defined(booting): template isStatic*(x): expr = compiles(static(x)) # checks whether `x` is a value known at compile-time - -when hasThreadSupport: - when hostOS != "standalone": include "system/sysspawn" |