MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / lua_getfield

Function lua_getfield

Source/Misc/lua/src/lua.c:2393–2403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2391
2392
2393LUA_API void lua_getfield (lua_State *L, int idx, const char *k) {
2394StkId t;
2395TValue key;
2396lua_lock(L);
2397t = index2adr(L, idx);
2398api_checkvalidindex(L, t);
2399setsvalue(L, &key, luaS_new(L, k));
2400luaV_gettable(L, t, &key, L->top);
2401api_incr_top(L);
2402lua_unlock(L);
2403}
2404
2405
2406LUA_API void lua_rawget (lua_State *L, int idx) {

Callers 15

luausb_generic_indexFunction · 0.85
luausb_generic_newindexFunction · 0.85
luausb_generic_tostringFunction · 0.85
luausb_is_interfaceFunction · 0.85
luausb_is_deviceFunction · 0.85
luausb_is_device_handleFunction · 0.85
luausb_is_transferFunction · 0.85
luausb_to_class_codeFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaV_gettableFunction · 0.85

Tested by

no test coverage detected