Stupid LuaHelpes::Push doesn't have a size_t specialization.

This commit is contained in:
Kyzentun
2015-01-30 09:30:50 -07:00
parent 647b361284
commit b4ede3f977
+5 -1
View File
@@ -1891,7 +1891,11 @@ public:
p->RemoveWrapperState(si); p->RemoveWrapperState(si);
COMMON_RETURN_SELF; COMMON_RETURN_SELF;
} }
DEFINE_METHOD(GetNumWrapperStates, GetNumWrapperStates()); static int GetNumWrapperStates(T* p, lua_State* L)
{
lua_pushnumber(L, p->GetNumWrapperStates());
return 1;
}
static int GetWrapperState(T* p, lua_State* L) static int GetWrapperState(T* p, lua_State* L)
{ {
size_t si= get_state_index(p, L, 1); size_t si= get_state_index(p, L, 1);