fixes #569; C++ codegen works again

This commit is contained in:
Araq 2013-08-31 02:07:52 +02:00
commit 6cc06cd35d
5 changed files with 26 additions and 16 deletions

View file

@ -58,7 +58,7 @@ else:
proc c_longjmp(jmpb: C_JmpBuf, retval: cint) {.
header: "<setjmp.h>", importc: "longjmp".}
proc c_setjmp(jmpb: var C_JmpBuf): cint {.
proc c_setjmp(jmpb: C_JmpBuf): cint {.
header: "<setjmp.h>", importc: "setjmp".}
proc c_signal(sig: cint, handler: proc (a: cint) {.noconv.}) {.