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

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

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

作者:hxyx    项目:goinf   
func (self *RefLua) PushValue(state State) {
	if self.Ref != 0 && self.VM.globalL != nil {
		C.lua_rawgeti(state.L, C.LUA_REGISTRYINDEX, C.int(self.Ref))
	}
}

作者:rdlaitil    项目:lea   
// Pushes onto the stack the value t[n], where t is the value at the given
// valid index. The access is raw; that is, it does not invoke metamethods.
func (this *State) Rawgeti(index, n int) {
	C.lua_rawgeti(this.luastate, C.int(index), C.int(n))
}

作者:halturi    项目:luaji   
// Pushes onto the stack the value t[n], where t is the value at the given
// valid index. The access is raw; that is, it does not invoke metamethods.
func (s *State) Rawgeti(index, n int) {
	C.lua_rawgeti(s.l, C.int(index), C.int(n))
}


问题


面经


文章

微信
公众号

扫码关注公众号