Fix compilation with C++ backend. Fixes #25.
This commit is contained in:
parent
21ca9a088b
commit
8b1ac6d835
1 changed files with 1 additions and 1 deletions
|
|
@ -774,7 +774,7 @@ proc fromVariant*[T: Table or TableRef](t: var T,
|
|||
result = ConversionResult.TypeError
|
||||
|
||||
{.emit: """/*TYPESECTION*/
|
||||
void NimMain(void);
|
||||
N_LIB_EXPORT N_CDECL(void, NimMain)(void);
|
||||
N_NOINLINE(void, setStackBottom)(void* thestackbottom);
|
||||
""".}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue