remove unused
This commit is contained in:
@@ -380,12 +380,6 @@ bool LuaManager::RunAtExpressionS( CString &sStr )
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void LuaManager::Fail( const CString &err )
|
|
||||||
{
|
|
||||||
lua_pushstring( L, err );
|
|
||||||
lua_error( L );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Like luaL_typerror, but without the special case for argument 1 being "self"
|
/* Like luaL_typerror, but without the special case for argument 1 being "self"
|
||||||
* in method calls, so we give a correct error message after we remove self. */
|
* in method calls, so we give a correct error message after we remove self. */
|
||||||
int LuaHelpers::TypeError( Lua *L, int iArgNo, const char *szName )
|
int LuaHelpers::TypeError( Lua *L, int iArgNo, const char *szName )
|
||||||
|
|||||||
@@ -62,8 +62,6 @@ public:
|
|||||||
/* If sStr begins with @, evaluate the rest as an expression and store the result over sStr. */
|
/* If sStr begins with @, evaluate the rest as an expression and store the result over sStr. */
|
||||||
bool RunAtExpressionS( CString &sStr );
|
bool RunAtExpressionS( CString &sStr );
|
||||||
|
|
||||||
void Fail( const CString &err );
|
|
||||||
|
|
||||||
void SetGlobal( const CString &sName, int val );
|
void SetGlobal( const CString &sName, int val );
|
||||||
void SetGlobal( const CString &sName, bool val );
|
void SetGlobal( const CString &sName, bool val );
|
||||||
void SetGlobal( const CString &sName, const CString &val );
|
void SetGlobal( const CString &sName, const CString &val );
|
||||||
|
|||||||
Reference in New Issue
Block a user