MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / gettable

Function gettable

xrepo/packages/l/lua/port/lua/src/lapi.c:729–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727
728
729static Table *gettable (lua_State *L, int idx) {
730 TValue *t = index2value(L, idx);
731 api_check(L, ttistable(t), "table expected");
732 return hvalue(t);
733}
734
735
736LUA_API int lua_rawget (lua_State *L, int idx) {

Callers 6

lua_rawgetFunction · 0.85
lua_rawgetiFunction · 0.85
lua_rawgetpFunction · 0.85
aux_rawsetFunction · 0.85
lua_rawsetiFunction · 0.85
lua_nextFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected