Lua/LuaInstance: Set SetTable as const
Former-commit-id: d480e243ddaf6fb6a016fde9ad9642b82e4703fe
This commit is contained in:
@@ -158,7 +158,7 @@ namespace Nz
|
|||||||
void SetMetatable(const String& tname) const;
|
void SetMetatable(const String& tname) const;
|
||||||
void SetMetatable(int index) const;
|
void SetMetatable(int index) const;
|
||||||
void SetMemoryLimit(UInt32 memoryLimit);
|
void SetMemoryLimit(UInt32 memoryLimit);
|
||||||
void SetTable(int index = -3);
|
void SetTable(int index = -3) const;
|
||||||
void SetTimeLimit(UInt32 timeLimit);
|
void SetTimeLimit(UInt32 timeLimit);
|
||||||
|
|
||||||
bool ToBoolean(int index) const;
|
bool ToBoolean(int index) const;
|
||||||
|
|||||||
@@ -754,7 +754,7 @@ namespace Nz
|
|||||||
m_memoryLimit = memoryLimit;
|
m_memoryLimit = memoryLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
void LuaInstance::SetTable(int index)
|
void LuaInstance::SetTable(int index) const
|
||||||
{
|
{
|
||||||
lua_settable(m_state, index);
|
lua_settable(m_state, index);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user