Fix bug pertaining to rawgeti not supporting int64
This commit is contained in:
@@ -429,11 +429,11 @@ public:
|
||||
}
|
||||
|
||||
template<typename RT>
|
||||
void rawgeti(RT &target, LuaSlot tab, lua_Integer key) const {
|
||||
void rawgeti(RT &target, LuaSlot tab, int key) const {
|
||||
lua_rawgeti(L_, tab, key);
|
||||
pop_any_value(target);
|
||||
}
|
||||
|
||||
|
||||
template<typename KT, typename VT>
|
||||
void rawset(LuaSlot tab, KT key, VT value) const {
|
||||
push_any_value(key);
|
||||
@@ -442,7 +442,7 @@ public:
|
||||
}
|
||||
|
||||
template<typename VT>
|
||||
void rawseti(LuaSlot tab, lua_Integer key, VT value) const {
|
||||
void rawseti(LuaSlot tab, int key, VT value) const {
|
||||
push_any_value(value);
|
||||
lua_rawseti(L_, tab, key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user