Fix #202 - implement noHeader
This commit is contained in:
parent
5a6eb043d2
commit
701a8793c2
15 changed files with 583 additions and 593 deletions
|
|
@ -28,6 +28,8 @@ cPlugin:
|
|||
|
||||
proc onSymbol*(sym: var Symbol) {.exportc, dynlib.} =
|
||||
sym.name = sym.name.replace("pcre_", "")
|
||||
if sym.name.startsWith("pcre16_") or sym.name.startsWith("pcre32_"):
|
||||
sym.name = ""
|
||||
|
||||
const FLAGS {.strdefine.} = ""
|
||||
cImport(pcreH, dynlib="dynpcre", flags="--mode=c " & FLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue