diff options
author | madmaxoft <github@xoft.cz> | 2014-02-05 00:16:33 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-02-05 00:16:33 +0100 |
commit | e5dce265aed40bd11ce91caae22db132b3486787 (patch) | |
tree | 4dea8e75b4d0e15a012df492114fa3f7ebef57e7 /src/Bindings | |
parent | InfoDump: Git-Ignoring all generated files. (diff) | |
download | cuberite-e5dce265aed40bd11ce91caae22db132b3486787.tar cuberite-e5dce265aed40bd11ce91caae22db132b3486787.tar.gz cuberite-e5dce265aed40bd11ce91caae22db132b3486787.tar.bz2 cuberite-e5dce265aed40bd11ce91caae22db132b3486787.tar.lz cuberite-e5dce265aed40bd11ce91caae22db132b3486787.tar.xz cuberite-e5dce265aed40bd11ce91caae22db132b3486787.tar.zst cuberite-e5dce265aed40bd11ce91caae22db132b3486787.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/ManualBindings.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp index 9ebdc4b22..d476a3156 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -1106,6 +1106,16 @@ static int tolua_cPluginManager_GetCurrentPlugin(lua_State * S) +static int tolua_cPluginManager_LogStackTrace(lua_State * S) +{ + cLuaState::LogStackTrace(S); + return 0; +} + + + + + static int tolua_cPluginManager_AddHook_FnRef(cPluginManager * a_PluginManager, cLuaState & S, int a_ParamIdx) { // Helper function for cPluginmanager:AddHook() binding @@ -2386,6 +2396,7 @@ void ManualBindings::Bind(lua_State * tolua_S) tolua_function(tolua_S, "ForEachConsoleCommand", tolua_cPluginManager_ForEachConsoleCommand); tolua_function(tolua_S, "GetAllPlugins", tolua_cPluginManager_GetAllPlugins); tolua_function(tolua_S, "GetCurrentPlugin", tolua_cPluginManager_GetCurrentPlugin); + tolua_function(tolua_S, "LogStackTrace", tolua_cPluginManager_LogStackTrace); tolua_endmodule(tolua_S); tolua_beginmodule(tolua_S, "cPlayer"); |