Home
last modified time | relevance | path

Searched refs:luaL_getmetafield (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlbaselib.c95 luaL_getmetafield(L, 1, "__metatable"); in luaB_getmetatable()
105 if (luaL_getmetafield(L, 1, "__metatable")) in luaB_setmetatable()
186 if (!luaL_getmetafield(L, 1, method)) { /* no metamethod? */ in pairsmeta()
H A Dlauxlib.h31 LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); variable
H A Dlauxlib.c556 LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *event) { in luaL_getmetafield() function
574 if (!luaL_getmetafield(L, obj, event)) /* no metafield? */ in luaL_callmeta()
/freebsd-12.1/contrib/lua/src/
H A Dlbaselib.c120 luaL_getmetafield(L, 1, "__metatable"); in luaB_getmetatable()
130 if (luaL_getmetafield(L, 1, "__metatable") != LUA_TNIL) in luaB_setmetatable()
212 if (luaL_getmetafield(L, 1, method) == LUA_TNIL) { /* no metamethod? */ in pairsmeta()
H A Dlauxlib.c185 if (luaL_getmetafield(L, arg, "__name") == LUA_TSTRING) in typeerror()
772 LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *event) { in luaL_getmetafield() function
790 if (luaL_getmetafield(L, obj, event) == LUA_TNIL) /* no metafield? */ in luaL_callmeta()
834 int tt = luaL_getmetafield(L, idx, "__name"); /* try name */ in luaL_tolstring()
H A Dlauxlib.h43 LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); variable
/freebsd-12.1/contrib/libucl/lua/
H A Dlua_ucl.c403 if (luaL_getmetafield (L, idx, "__gen_ucl")) { in ucl_object_lua_fromelt()