Got rid of more userdata nonsense

This commit is contained in:
2021-02-25 14:11:56 -05:00
parent 6405c34938
commit c1ecf593d1
2 changed files with 0 additions and 8 deletions

View File

@@ -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)) {

View File

@@ -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;