Lua/LuaState: Add RawEqual function
This commit is contained in:
parent
c4cf6d2f53
commit
a3fd69a453
|
|
@ -155,6 +155,7 @@ Nazara Engine:
|
||||||
- Added ENetHost and ENetPeer accessor to total packet/data received/sent/lost
|
- Added ENetHost and ENetPeer accessor to total packet/data received/sent/lost
|
||||||
- ⚠ **Changed the way resources were Loaded, almost every LoadFromX and OpenFromX methods are now static and create the object themselves.**
|
- ⚠ **Changed the way resources were Loaded, almost every LoadFromX and OpenFromX methods are now static and create the object themselves.**
|
||||||
- ⚠ SoundStream is now responsible for loaders instead of Music, and is now threadsafe (you can now load a stream only once and play it multiple times at the same time)
|
- ⚠ SoundStream is now responsible for loaders instead of Music, and is now threadsafe (you can now load a stream only once and play it multiple times at the same time)
|
||||||
|
- Added LuaState::RawEqual
|
||||||
|
|
||||||
Nazara Development Kit:
|
Nazara Development Kit:
|
||||||
- Added ImageWidget (#139)
|
- Added ImageWidget (#139)
|
||||||
|
|
|
||||||
|
|
@ -157,6 +157,8 @@ namespace Nz
|
||||||
void* PushUserdata(std::size_t size) const;
|
void* PushUserdata(std::size_t size) const;
|
||||||
void PushValue(int index) const;
|
void PushValue(int index) const;
|
||||||
|
|
||||||
|
bool RawEqual(int index1, int index2) const;
|
||||||
|
|
||||||
void Remove(int index) const;
|
void Remove(int index) const;
|
||||||
void Replace(int index) const;
|
void Replace(int index) const;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -712,6 +712,11 @@ namespace Nz
|
||||||
lua_pushvalue(m_state, index);
|
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
|
void LuaState::Remove(int index) const
|
||||||
{
|
{
|
||||||
lua_remove(m_state, index);
|
lua_remove(m_state, index);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue