Fix a bug in function registry, improve docs
This commit is contained in:
@@ -399,7 +399,6 @@ public:
|
||||
|
||||
void movesortablekey(LuaSlot val, LuaStack &other, LuaSlot otherslot);
|
||||
|
||||
|
||||
bool rawequal(LuaSlot v1, LuaSlot v2) const {
|
||||
return lua_rawequal(L_, v1, v2);
|
||||
}
|
||||
@@ -417,13 +416,6 @@ public:
|
||||
pop_any_value(target);
|
||||
}
|
||||
|
||||
template<typename RT, typename KT>
|
||||
void gettable(RT &target, LuaSlot tab, KT key) const {
|
||||
push_any_value(key);
|
||||
lua_gettable(L_, tab);
|
||||
pop_any_value(target);
|
||||
}
|
||||
|
||||
template<typename RT, typename KT>
|
||||
void rawget(RT &target, LuaSlot tab, KT key) const {
|
||||
push_any_value(key);
|
||||
|
||||
Reference in New Issue
Block a user