Searched refs:luaL_getmetafield (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lbaselib.c | 89 luaL_getmetafield(L, 1, "__metatable"); in luaB_getmetatable() 99 if (luaL_getmetafield(L, 1, "__metatable")) in luaB_setmetatable() 180 if (!luaL_getmetafield(L, 1, method)) { /* no metamethod? */ in pairsmeta()
|
H A D | lauxlib.c | 555 LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *event) { in luaL_getmetafield() function 573 if (!luaL_getmetafield(L, obj, event)) /* no metafield? */ in luaL_callmeta()
|
/freebsd/contrib/lua/src/ |
H A D | lbaselib.c | 132 luaL_getmetafield(L, 1, "__metatable"); in luaB_getmetatable() 141 if (l_unlikely(luaL_getmetafield(L, 1, "__metatable") != LUA_TNIL)) in luaB_setmetatable() 286 if (luaL_getmetafield(L, 1, "__pairs") == LUA_TNIL) { /* no metamethod? */ in luaB_pairs()
|
H A D | lauxlib.c | 197 if (luaL_getmetafield(L, arg, "__name") == LUA_TSTRING) in luaL_typeerror() 860 LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *event) { in luaL_getmetafield() function 878 if (luaL_getmetafield(L, obj, event) == LUA_TNIL) /* no metafield? */ in luaL_callmeta() 923 int tt = luaL_getmetafield(L, idx, "__name"); /* try name */ in luaL_tolstring()
|
H A D | lauxlib.h | 50 LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); variable
|
H A D | lstrlib.c | 280 !luaL_getmetafield(L, 2, mtname))) in trymt()
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lauxlib.h | 30 LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e); variable
|
/freebsd/contrib/libucl/lua/ |
H A D | lua_ucl.c | 345 if (luaL_getmetafield (L, idx, "class") != 0) { in ucl_object_lua_fromtable() 539 if (luaL_getmetafield (L, idx, "__gen_ucl")) { in ucl_object_lua_fromelt()
|
/freebsd/contrib/lutok/ |
H A D | state.cpp | 343 return luaL_getmetafield(_pimpl->lua_state, index, name.c_str()) != 0; in get_metafield()
|