Stupid LuaHelpes::Push doesn't have a size_t specialization.
This commit is contained in:
+5
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user