Simplify. PushStack was only calling Push and possibly generating a function for each enumerated type which in the end only called Push. Rename PopStack -> Pop to be symmetric with Push.

This commit is contained in:
Steve Checkoway
2006-09-21 07:06:18 +00:00
parent 064f147f84
commit d7e64dc979
6 changed files with 16 additions and 21 deletions
+2 -2
View File
@@ -950,7 +950,7 @@ public:
lua_pushvalue( L, 1 );
/* Argument 3 (pn): */
LuaHelpers::PushStack( (int) p, L );
LuaHelpers::Push( p, L );
ASSERT( lua_gettop(L) == 6 ); /* vbSelectedOut, m_iLuaTable, function, self, arg, arg */
@@ -1004,7 +1004,7 @@ public:
lua_pushvalue( L, 1 );
/* Argument 3 (pn): */
LuaHelpers::PushStack( (int) p, L );
LuaHelpers::Push( p, L );
ASSERT( lua_gettop(L) == 6 ); /* vbSelectedOut, m_iLuaTable, function, self, arg, arg */