Adds C interface for AngelScriptResolver::DefineWord
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-08-22 12:54:22 +02:00
parent b3d0e8b0cf
commit f9adc1e040
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 0 deletions

View File

@ -50,3 +50,4 @@ export uint8_t PkmnLib_AngelScriptResolver_RegisterGlobalMethod(AngelScriptResol
void*(func)(void*)) { void*(func)(void*)) {
Try(p->RegisterGlobalMethod(decl, func);) Try(p->RegisterGlobalMethod(decl, func);)
} }
export void PkmnLib_AngelScriptResolve_DefineWord(AngelScriptResolver* p, const char* word) { p->DefineWord(word); }