SAPI: Track last executed mod and include in error messages
This commit is contained in:
@@ -88,6 +88,12 @@ class ModApiServer : public ModApiBase {
|
||||
// notify_authentication_modified(name)
|
||||
static int l_notify_authentication_modified(lua_State *L);
|
||||
|
||||
// get_last_run_mod()
|
||||
static int l_get_last_run_mod(lua_State *L);
|
||||
|
||||
// set_last_run_mod(modname)
|
||||
static int l_set_last_run_mod(lua_State *L);
|
||||
|
||||
#ifndef NDEBUG
|
||||
// cause_error(type_of_error)
|
||||
static int l_cause_error(lua_State *L);
|
||||
|
||||
Reference in New Issue
Block a user