Fix incorrect signature for nimLoadProcs when using cpp backend (#6699)
This commit is contained in:
parent
d4cdd92bc9
commit
06a6347929
1 changed files with 1 additions and 1 deletions
|
|
@ -1153,7 +1153,7 @@ proc genInitCode(m: BModule) =
|
|||
|
||||
for i, el in pairs(m.extensionLoaders):
|
||||
if el != nil:
|
||||
let ex = "N_NIMCALL(void, nimLoadProcs$1)(void) {$2}$N$N" %
|
||||
let ex = "NIM_EXTERNC N_NIMCALL(void, nimLoadProcs$1)(void) {$2}$N$N" %
|
||||
[(i.ord - '0'.ord).rope, el]
|
||||
add(m.s[cfsInitProc], ex)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue