Implement var proc
This commit is contained in:
parent
48955b3aa1
commit
8dc327d02b
3 changed files with 28 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue