From e05ca494593d780c0ecf358bf66a94b224b35b5b Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 26 Jun 2017 08:56:55 +0200 Subject: Moved ApiParamError into cLuaState. --- src/Bindings/ManualBindings.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Bindings/ManualBindings.h') 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 < -- cgit v1.2.3