summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-11 23:10:40 +0100
committermadmaxoft <github@xoft.cz>2014-01-11 23:10:40 +0100
commit023ba1768837e4a8c29996dbcf82a64366b30629 (patch)
treed1f1c1773868a834d8aacdeb34ba2308232133e9 /src/Bindings/LuaState.h
parentRemoved internal methods from public cLuaState interface. (diff)
downloadcuberite-023ba1768837e4a8c29996dbcf82a64366b30629.tar
cuberite-023ba1768837e4a8c29996dbcf82a64366b30629.tar.gz
cuberite-023ba1768837e4a8c29996dbcf82a64366b30629.tar.bz2
cuberite-023ba1768837e4a8c29996dbcf82a64366b30629.tar.lz
cuberite-023ba1768837e4a8c29996dbcf82a64366b30629.tar.xz
cuberite-023ba1768837e4a8c29996dbcf82a64366b30629.tar.zst
cuberite-023ba1768837e4a8c29996dbcf82a64366b30629.zip
Diffstat (limited to 'src/Bindings/LuaState.h')
-rw-r--r--src/Bindings/LuaState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h
index c77dbeb7f..a43d39732 100644
--- a/src/Bindings/LuaState.h
+++ b/src/Bindings/LuaState.h
@@ -889,6 +889,8 @@ protected:
*/
bool CallFunction(int a_NumReturnValues);
+ /** Used as the error reporting function for function calls */
+ static int ReportFnCallErrors(lua_State * a_LuaState);
} ;