MCPcopy Create free account
hub / github.com/TASEmulators/fceux / lua_getfield

Function lua_getfield

src/lua/src/lapi.c:544–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542
543
544LUA_API void lua_getfield (lua_State *L, int idx, const char *k) {
545 StkId t;
546 TValue key;
547 lua_lock(L);
548 t = index2adr(L, idx);
549 api_checkvalidindex(L, t);
550 setsvalue(L, &key, luaS_new(L, k));
551 luaV_gettable(L, t, &key, L->top);
552 api_incr_top(L);
553 lua_unlock(L);
554}
555
556
557LUA_API void lua_rawget (lua_State *L, int idx) {

Callers 15

emu_registerbeforeFunction · 0.85
emu_registerafterFunction · 0.85
emu_registerexitFunction · 0.85
CallLuaTracebackFunction · 0.85
CalculateMemHookRegionsFunction · 0.85
memory_registerHookFunction · 0.85
zapper_setFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaV_gettableFunction · 0.85

Tested by

no test coverage detected