MCPcopy Create free account
hub / github.com/Tencent/xLua / lua_gettable

Function lua_gettable

WebGLPlugins/lapi.c:611–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609
610
611LUA_API int lua_gettable (lua_State *L, int idx) {
612 StkId t;
613 lua_lock(L);
614 t = index2addr(L, idx);
615 luaV_gettable(L, t, L->top - 1, L->top - 1);
616 lua_unlock(L);
617 return ttnov(L->top - 1);
618}
619
620
621LUA_API int lua_getfield (lua_State *L, int idx, const char *k) {

Callers 8

add_valueFunction · 0.85
c_lua_gettableFunction · 0.85
c_lua_gettable_bypathFunction · 0.85
c_lua_settable_bypathFunction · 0.85
obj_indexerFunction · 0.85
obj_newindexerFunction · 0.85
cls_indexerFunction · 0.85
cls_newindexerFunction · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected