diff options
author | Araq <rumpf_a@web.de> | 2014-04-19 22:24:43 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-04-19 22:24:43 +0200 |
commit | 3b69a8d27a6b87bcb3440b5dae4aa2f618204264 (patch) | |
tree | 99ca5259b57b7bdbc80363db0fa49ced2a019517 /lib/system/cgprocs.nim | |
parent | 8e08ff559f4c03587c683b1bf2ef71f256af3824 (diff) | |
download | Nim-3b69a8d27a6b87bcb3440b5dae4aa2f618204264.tar.gz |
New concurrency model: next steps
Diffstat (limited to 'lib/system/cgprocs.nim')
-rw-r--r-- | lib/system/cgprocs.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/cgprocs.nim b/lib/system/cgprocs.nim index e30cfa469..d483c61bd 100644 --- a/lib/system/cgprocs.nim +++ b/lib/system/cgprocs.nim @@ -9,7 +9,7 @@ # Headers for procs that the code generator depends on ("compilerprocs") -proc addChar(s: NimString, c: char): NimString {.compilerProc.} +proc addChar(s: NimString, c: char): NimString {.compilerProc, gcsafe.} type TLibHandle = pointer # private type @@ -21,5 +21,5 @@ proc nimGetProcAddr(lib: TLibHandle, name: cstring): TProcAddr {.compilerproc.} proc nimLoadLibraryError(path: string) {.compilerproc, noinline.} -proc setStackBottom(theStackBottom: pointer) {.compilerRtl, noinline.} +proc setStackBottom(theStackBottom: pointer) {.compilerRtl, noinline, gcsafe.} |