remove unused
This commit is contained in:
@@ -86,20 +86,6 @@ void LuaManager::SetGlobal( const RString &sName, const RString &val )
|
||||
LUA->Release(L);
|
||||
}
|
||||
|
||||
void LuaManager::SetGlobalFromExpression( const RString &sName, const RString &expr )
|
||||
{
|
||||
Lua *L = LUA->Get();
|
||||
if( !LuaHelpers::RunScript(L, "return " + expr, "", 1) )
|
||||
{
|
||||
LUA->Release(L);
|
||||
return;
|
||||
}
|
||||
|
||||
lua_setglobal( L, sName );
|
||||
|
||||
LUA->Release(L);
|
||||
}
|
||||
|
||||
void LuaManager::UnsetGlobal( const RString &sName )
|
||||
{
|
||||
Lua *L = LUA->Get();
|
||||
|
||||
@@ -35,7 +35,6 @@ public:
|
||||
void SetGlobal( const RString &sName, float val );
|
||||
void SetGlobal( const RString &sName, bool val );
|
||||
void SetGlobal( const RString &sName, const RString &val );
|
||||
void SetGlobalFromExpression( const RString &sName, const RString &expr );
|
||||
void UnsetGlobal( const RString &sName );
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user