Golang C.lua_replace类(方法)实例源码

下面列出了Golang C.lua_replace 类(方法)源码代码实例,从而了解它的用法。

作者:rdlaitil    项目:lea   
// 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))
}

作者:szl    项目:golu   
// lua_replace
func (L *State) Replace(index int) {
	C.lua_replace(L.s, C.int(index))
}

作者:halturi    项目:luaji   
// 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))
}


问题


面经


文章

微信
公众号

扫码关注公众号