remove PushStackNil

This commit is contained in:
Glenn Maynard
2005-06-15 08:36:06 +00:00
parent 6bfb3f0bad
commit d7b09d366e
2 changed files with 1 additions and 7 deletions
+1 -6
View File
@@ -73,14 +73,9 @@ void LuaManager::SetGlobal( const CString &sName, const CString &val )
}
void LuaManager::UnsetGlobal( const CString &sName )
{
PushStackNil();
SetGlobal( sName );
}
void LuaManager::PushStackNil()
{
lua_pushnil( L );
SetGlobal( sName );
}
-1
View File
@@ -86,7 +86,6 @@ public:
void SetGlobal( const CString &sName, const CString &val );
void UnsetGlobal( const CString &sName );
void PushStackNil();
void PushNopFunction();
bool GetStack( int pos, int &out );