aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tpcre.nim7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tpcre.nim b/tests/tpcre.nim
index 5bc97da..41809cb 100644
--- a/tests/tpcre.nim
+++ b/tests/tpcre.nim
@@ -1,6 +1,6 @@
import os
-import nimterop/[cimport, build, paths]
+import nimterop/[cimport, build]
const
baseDir = getProjectCacheDir("nimterop" / "tests" / "pcre")
@@ -33,3 +33,8 @@ cPlugin:
cImport(pcreH, dynlib="dynpcre")
echo version()
+
+proc my_malloc(a1: cuint) {.cdecl.} =
+ discard
+
+malloc = my_malloc