aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-01-27 15:45:31 -0600
committergenotrance <dev@genotrance.com>2019-01-27 22:05:54 -0600
commit89ff8c0cc00a3d9e7d93613d38f2df13bdf31e2d (patch)
tree2574c2234ccc149e96581050bc02c832bfa010cb /tests
parentf7a77b7ab9c7cae36014e1991245e0d4c1da7099 (diff)
downloadnimterop-89ff8c0cc00a3d9e7d93613d38f2df13bdf31e2d.tar.gz
nimterop-89ff8c0cc00a3d9e7d93613d38f2df13bdf31e2d.zip
Remove Result, add plugin.nim, forceBuild
Diffstat (limited to 'tests')
-rw-r--r--tests/tmath.nim2
-rw-r--r--tests/tnimterop_c.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/tmath.nim b/tests/tmath.nim
index a561251..63f1786 100644
--- a/tests/tmath.nim
+++ b/tests/tmath.nim
@@ -14,7 +14,7 @@ cAddStdDir()
cPlugin:
import strutils
- proc onSymbol*(sym: var Symbol): Result {.exportc, dynlib.} =
+ proc onSymbol*(sym: var Symbol) {.exportc, dynlib.} =
sym.name = sym.name.strip(chars={'_'})
cImport cSearchPath("math.h")
diff --git a/tests/tnimterop_c.nim b/tests/tnimterop_c.nim
index c9b4667..457db7b 100644
--- a/tests/tnimterop_c.nim
+++ b/tests/tnimterop_c.nim
@@ -12,7 +12,7 @@ cCompile cSearchPath("test.c")
cPlugin:
import strutils
- proc onSymbol*(sym: var Symbol): Result {.exportc, dynlib.} =
+ proc onSymbol*(sym: var Symbol) {.exportc, dynlib.} =
sym.name = sym.name.strip(chars={'_'})
cImport cSearchPath "test.h"