Exemple #1
0
// lua_getmetatable
func (L *State) GetMetaTable(index int) bool {
	return C.lua_getmetatable(L.s, C.int(index)) != 0
}
Exemple #2
0
// Pushes onto the stack the metatable associated with name tname in the
// registry.
func (s *State) Getmetatable(index int) {
	C.lua_getmetatable(s.l, C.int(index))
}