Fixes C Interface using wrong macro for exporting when using debugger
This commit is contained in:
parent
a6b1c8a8ec
commit
2cac37d814
|
@ -53,7 +53,7 @@ export_func uint8_t PkmnLib_AngelScriptResolver_RegisterGlobalMethod(AngelScript
|
||||||
export_func void PkmnLib_AngelScriptResolver_DefineWord(AngelScriptResolver* p, const char* word) { p->DefineWord(word); }
|
export_func void PkmnLib_AngelScriptResolver_DefineWord(AngelScriptResolver* p, const char* word) { p->DefineWord(word); }
|
||||||
|
|
||||||
#ifdef ANGELSCRIPT_DEBUGGER
|
#ifdef ANGELSCRIPT_DEBUGGER
|
||||||
export void PkmnLib_AngelScriptResolver_AddDebugger(AngelScriptResolver* p, u16 port) {
|
export_func void PkmnLib_AngelScriptResolver_AddDebugger(AngelScriptResolver* p, u16 port) {
|
||||||
auto* d = new AngelscriptDebugger();
|
auto* d = new AngelscriptDebugger();
|
||||||
d->Run(port);
|
d->Run(port);
|
||||||
p->SetDebugger(d);
|
p->SetDebugger(d);
|
||||||
|
|
Loading…
Reference in New Issue