ast2 bug fixes - getIdentName, ptr object, header const
This commit is contained in:
parent
cadf16293d
commit
c113ecec98
3 changed files with 28 additions and 22 deletions
|
|
@ -41,7 +41,7 @@ cOverride:
|
|||
proc weirdfunc(apple: ptr ptr ptr cchar): int {.importc.}
|
||||
proc weirdfunc2(mango: ptr ptr cchar): int {.importc.}
|
||||
|
||||
cImport cSearchPath "test.h"
|
||||
cImport(cSearchPath("test.h"))
|
||||
|
||||
check TEST_INT == 512
|
||||
check TEST_FLOAT == 5.12
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue