// Moves the top element into the given position (and pops it), without // shifting any element (therefore replacing the value at the given // position). func (this *State) Replace(index int) { C.lua_replace(this.luastate, C.int(index)) }
// lua_replace func (L *State) Replace(index int) { C.lua_replace(L.s, C.int(index)) }
// Moves the top element into the given position (and pops it), without // shifting any element (therefore replacing the value at the given // position). func (s *State) Replace(index int) { C.lua_replace(s.l, C.int(index)) }