diff options
author | sapier <Sapier at GMX dot net> | 2014-04-29 17:47:34 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-04-29 22:49:04 +0200 |
commit | b5acec0a3c5701c53854ff7afdf4008863e6e8df (patch) | |
tree | 19ed8671c3b56e82e803c51eaad92948b806d13a /src/script/common/c_internal.h | |
parent | c03d7dc8a7c35708a39f9c14e2df243e212b283b (diff) | |
download | minetest-b5acec0a3c5701c53854ff7afdf4008863e6e8df.tar.gz minetest-b5acec0a3c5701c53854ff7afdf4008863e6e8df.tar.bz2 minetest-b5acec0a3c5701c53854ff7afdf4008863e6e8df.zip |
Add proper lua api deprecated handling
Diffstat (limited to 'src/script/common/c_internal.h')
-rw-r--r-- | src/script/common/c_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/common/c_internal.h b/src/script/common/c_internal.h index f3ef18d70..eb9181b09 100644 --- a/src/script/common/c_internal.h +++ b/src/script/common/c_internal.h @@ -68,7 +68,7 @@ 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); +void script_run_callbacks(lua_State *L, int nargs, RunCallbacksMode mode); +void log_deprecated(lua_State *L, std::string message); #endif /* C_INTERNAL_H_ */ |