mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Refactor Script API's log_deprecated
This commit is contained in:
parent
4da057cc49
commit
c657fb343f
6 changed files with 27 additions and 31 deletions
|
@ -103,4 +103,5 @@ int script_exception_wrapper(lua_State *L, lua_CFunction f);
|
|||
void script_error(lua_State *L, int pcall_result, const char *mod, const char *fxn);
|
||||
void script_run_callbacks_f(lua_State *L, int nargs,
|
||||
RunCallbacksMode mode, const char *fxn);
|
||||
void log_deprecated(lua_State *L, const std::string &message);
|
||||
void log_deprecated(lua_State *L, const std::string &message,
|
||||
int stack_depth=1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue