ast2 var of proc type, multiple proc type block
This commit is contained in:
parent
bd1c283eb9
commit
534acf9259
6 changed files with 310 additions and 158 deletions
|
|
@ -35,7 +35,9 @@ cImport(pcreH, dynlib="dynpcre", flags = FLAGS)
|
|||
|
||||
echo version()
|
||||
|
||||
proc my_malloc(a1: uint) {.cdecl.} =
|
||||
discard
|
||||
when FLAGS.len != 0:
|
||||
# Legacy algorithm is broken - does not convert void * return to pointer
|
||||
proc my_malloc(a1: uint): pointer {.cdecl.} =
|
||||
discard
|
||||
|
||||
malloc = my_malloc
|
||||
malloc = my_malloc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue