diff --git a/API_Lua.cpp b/API_Lua.cpp index 252de7a..6d2057d 100644 --- a/API_Lua.cpp +++ b/API_Lua.cpp @@ -20,6 +20,13 @@ using namespace std ; +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtLuaCreateGlobTable( const wchar_t* wsVar) +{ + return ( ExeLuaCreateGlobTable( wstrztoA( wsVar)) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtLuaSetGlobBoolVar( const wchar_t* wsVar, BOOL bVal) @@ -99,9 +106,9 @@ __stdcall EgtLuaResetGlobVar( const wchar_t* wsVar) //----------------------------------------------------------------------------- BOOL -__stdcall EgtLuaCreateGlobTable( const wchar_t* wsVar) +__stdcall EgtLuaCallFunction( const wchar_t* wsFun) { - return ( ExeLuaCreateGlobTable( wstrztoA( wsVar)) ? TRUE : FALSE) ; + return ( ExeLuaCallFunction( wstrztoA( wsFun)) ? TRUE : FALSE) ; } //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index 20051d5..ea897bd 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ