aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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"