Lua/LuaInstance: Rename automatic SetField/SetGlobal to PushField/PushGlobal
Former-commit-id: add576baa5ee7c12121925b5b4fb5fc37fe85042
This commit is contained in:
@@ -714,12 +714,12 @@ namespace Nz
|
||||
lua_replace(m_state, index);
|
||||
}
|
||||
|
||||
void LuaInstance::SetField(const char* name, int tableIndex)
|
||||
void LuaInstance::SetField(const char* name, int tableIndex) const
|
||||
{
|
||||
lua_setfield(m_state, tableIndex, name);
|
||||
}
|
||||
|
||||
void LuaInstance::SetField(const String& name, int tableIndex)
|
||||
void LuaInstance::SetField(const String& name, int tableIndex) const
|
||||
{
|
||||
lua_setfield(m_state, tableIndex, name.GetConstBuffer());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user