remove GetStack

This commit is contained in:
Glenn Maynard
2005-06-15 08:37:54 +00:00
parent 4c6aa1ea65
commit cfa50fd225
2 changed files with 0 additions and 12 deletions
-11
View File
@@ -125,17 +125,6 @@ void LuaManager::ReadArrayFromTableB( vector<bool> &aOut, lua_State *L )
}
}
bool LuaManager::GetStack( int pos, int &out )
{
if( pos < 0 )
pos = lua_gettop(L) - pos - 1;
if( pos < 1 )
return false;
out = (int) lua_tonumber( L, pos );
return true;
}
void LuaManager::SetGlobal( const CString &sName )
{
lua_setglobal( L, sName );