MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / gettable

Function gettable

3rd/lua-5.4.3/src/lapi.c:719–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717
718
719static Table *gettable (lua_State *L, int idx) {
720 TValue *t = index2value(L, idx);
721 api_check(L, ttistable(t), "table expected");
722 return hvalue(t);
723}
724
725
726LUA_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