diff options
author | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-05-16 21:59:42 +0200 |
---|---|---|
committer | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-05-16 21:59:42 +0200 |
commit | 4ace226dcd92f4d0bdc3774dd4401e56ab09f7a6 (patch) | |
tree | 5cf7fe6e2f5e47d385549d5fb2258bae02ae0c6e /src/Bindings/LuaState.h | |
parent | Merge pull request #2029 from mc-server/bedPatch (diff) | |
parent | Lua: Break into ZBS debugger on API errors. (diff) | |
download | cuberite-4ace226dcd92f4d0bdc3774dd4401e56ab09f7a6.tar cuberite-4ace226dcd92f4d0bdc3774dd4401e56ab09f7a6.tar.gz cuberite-4ace226dcd92f4d0bdc3774dd4401e56ab09f7a6.tar.bz2 cuberite-4ace226dcd92f4d0bdc3774dd4401e56ab09f7a6.tar.lz cuberite-4ace226dcd92f4d0bdc3774dd4401e56ab09f7a6.tar.xz cuberite-4ace226dcd92f4d0bdc3774dd4401e56ab09f7a6.tar.zst cuberite-4ace226dcd92f4d0bdc3774dd4401e56ab09f7a6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/LuaState.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h index b38401fd8..5b4ec3ae4 100644 --- a/src/Bindings/LuaState.h +++ b/src/Bindings/LuaState.h @@ -389,6 +389,9 @@ protected: /** Used as the error reporting function for function calls */ static int ReportFnCallErrors(lua_State * a_LuaState); + + /** Tries to break into the MobDebug debugger, if it is installed. */ + static int BreakIntoDebugger(lua_State * a_LuaState); } ; |