diff options
author | madmaxoft <github@xoft.cz> | 2014-03-19 22:55:47 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-19 22:55:47 +0100 |
commit | 74b7f51b898575bacec52663e5e8601d6bfd36bd (patch) | |
tree | 00d4b4bccd64508d5bbb45ad2736620d34ab07cc /src/Bindings/LuaState.h | |
parent | APIDump: Updated comments to reflect current code. (diff) | |
download | cuberite-74b7f51b898575bacec52663e5e8601d6bfd36bd.tar cuberite-74b7f51b898575bacec52663e5e8601d6bfd36bd.tar.gz cuberite-74b7f51b898575bacec52663e5e8601d6bfd36bd.tar.bz2 cuberite-74b7f51b898575bacec52663e5e8601d6bfd36bd.tar.lz cuberite-74b7f51b898575bacec52663e5e8601d6bfd36bd.tar.xz cuberite-74b7f51b898575bacec52663e5e8601d6bfd36bd.tar.zst cuberite-74b7f51b898575bacec52663e5e8601d6bfd36bd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/LuaState.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h index f5cb8379d..356a284e0 100644 --- a/src/Bindings/LuaState.h +++ b/src/Bindings/LuaState.h @@ -868,10 +868,10 @@ public: static bool ReportErrors(lua_State * a_LuaState, int status); /** Logs all items in the current stack trace to the server console */ - void LogStackTrace(void); + void LogStackTrace(int a_StartingDepth = 0); /** Logs all items in the current stack trace to the server console */ - static void LogStackTrace(lua_State * a_LuaState); + static void LogStackTrace(lua_State * a_LuaState, int a_StartingDepth = 0); /** Returns the type of the item on the specified position in the stack */ AString GetTypeText(int a_StackPos); |