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

Function xlua_pgettable

WebGLPlugins/xlua.c:214–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214LUA_API int xlua_pgettable(lua_State* L, int idx) {
215 int top = lua_gettop(L);
216 idx = lua_absindex(L, idx);
217 lua_pushcfunction(L, c_lua_gettable);
218 lua_pushvalue(L, idx);
219 lua_pushvalue(L, top);
220 lua_remove(L, top);
221 return lua_pcall(L, 2, 1, 0);
222}
223
224static int c_lua_gettable_bypath(lua_State* L) {
225 size_t len = 0;

Callers

nothing calls this directly

Calls 5

lua_gettopFunction · 0.85
lua_absindexFunction · 0.85
lua_pushvalueFunction · 0.85
lua_removeFunction · 0.85
lua_pcallFunction · 0.85

Tested by

no test coverage detected