add pushing to vectors with any type

This commit is contained in:
Chris Danford
2005-02-21 06:51:10 +00:00
parent a25eb2443c
commit b688bff51d
3 changed files with 21 additions and 7 deletions
+2 -2
View File
@@ -104,7 +104,7 @@ void LuaManager::PushStack( const CString &out, lua_State *L )
lua_pushstring( L, out );
}
void LuaManager::CreateTableFromArray( const vector<bool> &aIn, lua_State *L )
void LuaManager::CreateTableFromArrayB( const vector<bool> &aIn, lua_State *L )
{
if( L == NULL )
L = LUA->L;
@@ -117,7 +117,7 @@ void LuaManager::CreateTableFromArray( const vector<bool> &aIn, lua_State *L )
}
}
void LuaManager::ReadArrayFromTable( vector<bool> &aOut, lua_State *L )
void LuaManager::ReadArrayFromTableB( vector<bool> &aOut, lua_State *L )
{
if( L == NULL )
L = LUA->L;