Got rid of more userdata nonsense
This commit is contained in:
@@ -188,12 +188,6 @@ void LuaStack::makesubtable(LuaSlot sub, LuaSlot tab, const char *name) const {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LuaStack::setlightuserdata(LuaSlot target, void *p) const {
|
|
||||||
lua_pushlightuserdata(L_, p);
|
|
||||||
lua_replace(L_, target);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void LuaStack::check_nret(int xnret, int otop, int nret) const {
|
void LuaStack::check_nret(int xnret, int otop, int nret) const {
|
||||||
int ntop = lua_gettop(L_);
|
int ntop = lua_gettop(L_);
|
||||||
if ((nret != xnret)||(ntop != otop + xnret)) {
|
if ((nret != xnret)||(ntop != otop + xnret)) {
|
||||||
|
|||||||
@@ -415,8 +415,6 @@ public:
|
|||||||
|
|
||||||
void makesubtable(LuaSlot sub, LuaSlot tab, const char *name) const;
|
void makesubtable(LuaSlot sub, LuaSlot tab, const char *name) const;
|
||||||
|
|
||||||
void setlightuserdata(LuaSlot target, void *p) const;
|
|
||||||
|
|
||||||
int next(LuaSlot tab, LuaSlot key, LuaSlot value) const;
|
int next(LuaSlot tab, LuaSlot key, LuaSlot value) const;
|
||||||
|
|
||||||
void makeclass(LuaSlot tab, LuaSlot name) const;
|
void makeclass(LuaSlot tab, LuaSlot name) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user