ast2 bug fixes - getIdentName, ptr object, header const

This commit is contained in:
Ganesh Viswanathan 2020-03-23 16:06:28 -05:00
commit c113ecec98
3 changed files with 28 additions and 22 deletions

View file

@ -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