Lua/LuaState: Add RawEqual function

This commit is contained in:
Lynix
2018-11-14 23:54:31 +01:00
parent c4cf6d2f53
commit a3fd69a453
3 changed files with 8 additions and 0 deletions

View File

@@ -712,6 +712,11 @@ namespace Nz
lua_pushvalue(m_state, index);
}
bool LuaState::RawEqual(int index1, int index2) const
{
return lua_rawequal(m_state, index1, index2);
}
void LuaState::Remove(int index) const
{
lua_remove(m_state, index);