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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user