mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Handle LuaErrors in Lua -> C++ calls on LuaJIT
This commit is contained in:
@@ -66,6 +66,7 @@ enum RunCallbacksMode
|
||||
|
||||
std::string script_get_backtrace(lua_State *L);
|
||||
int script_error_handler(lua_State *L);
|
||||
int script_exception_wrapper(lua_State *L, lua_CFunction f);
|
||||
void script_error(lua_State *L);
|
||||
void script_run_callbacks(lua_State *L, int nargs,
|
||||
RunCallbacksMode mode);
|
||||
|
Reference in New Issue
Block a user