Fixes C Interface using wrong macro for exporting when using debugger
continuous-integration/drone/push Build was killed Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Deukhoofd 2022-04-10 12:15:02 +02:00
parent a6b1c8a8ec
commit 2cac37d814
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -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);