aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-03-23 16:06:28 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-03-23 16:06:28 -0500
commitc113ecec986e4790a98c5c73f61864fe18c49bfe (patch)
tree033b54a890dd95a60673a1f307e39f2055d9bcc5 /tests
parentcadf16293d40bcd265d1bf8f366d351ba354a6f9 (diff)
downloadnimterop-c113ecec986e4790a98c5c73f61864fe18c49bfe.tar.gz
nimterop-c113ecec986e4790a98c5c73f61864fe18c49bfe.zip
ast2 bug fixes - getIdentName, ptr object, header const
Diffstat (limited to 'tests')
-rw-r--r--tests/tnimterop_c.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tnimterop_c.nim b/tests/tnimterop_c.nim
index c577c5d..732efbf 100644
--- a/tests/tnimterop_c.nim
+++ b/tests/tnimterop_c.nim
@@ -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