作者:szl
项目:golu
// lua_getmetatable
func (L *State) GetMetaTable(index int) bool {
return C.lua_getmetatable(L.s, C.int(index)) != 0
}
作者:halturi
项目:luaji
// 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))
}