summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-06-26 08:56:55 +0200
committerMattes D <github@xoft.cz>2017-06-26 10:52:59 +0200
commite05ca494593d780c0ecf358bf66a94b224b35b5b (patch)
treec94b004d4c89aa118f889a2ae988cd354f69ace1 /src/Bindings/ManualBindings.h
parentFixed memory leak in cClientHandle. (#3794) (diff)
downloadcuberite-e05ca494593d780c0ecf358bf66a94b224b35b5b.tar
cuberite-e05ca494593d780c0ecf358bf66a94b224b35b5b.tar.gz
cuberite-e05ca494593d780c0ecf358bf66a94b224b35b5b.tar.bz2
cuberite-e05ca494593d780c0ecf358bf66a94b224b35b5b.tar.lz
cuberite-e05ca494593d780c0ecf358bf66a94b224b35b5b.tar.xz
cuberite-e05ca494593d780c0ecf358bf66a94b224b35b5b.tar.zst
cuberite-e05ca494593d780c0ecf358bf66a94b224b35b5b.zip
Diffstat (limited to 'src/Bindings/ManualBindings.h')
-rw-r--r--src/Bindings/ManualBindings.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Bindings/ManualBindings.h b/src/Bindings/ManualBindings.h
index 889e33664..dc9d9462f 100644
--- a/src/Bindings/ManualBindings.h
+++ b/src/Bindings/ManualBindings.h
@@ -52,11 +52,6 @@ public:
static int tolua_do_error(lua_State * L, const char * a_pMsg, tolua_Error * a_pToLuaError);
static int lua_do_error(lua_State * L, const char * a_pFormat, ...);
- /** Formats and prints the message, prefixed with the current function name, then logs the stack contents and raises a Lua error.
- To be used for bindings when they detect bad parameters.
- Doesn't return, but a dummy return type is provided so that Lua API functions may do "return ApiParamError(...)". */
- static int ApiParamError(lua_State * a_LuaState, const char * a_MsgFormat, ...);
-
/** Binds the DoWith(ItemName) functions of regular classes. */
template <