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

Function xlua_pgettable_bypath

WebGLPlugins/xlua.c:250–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250LUA_API int xlua_pgettable_bypath(lua_State* L, int idx, const char *path) {
251 idx = lua_absindex(L, idx);
252 lua_pushcfunction(L, c_lua_gettable_bypath);
253 lua_pushvalue(L, idx);
254 lua_pushstring(L, path);
255 return lua_pcall(L, 2, 1, 0);
256}
257
258static int c_lua_settable(lua_State* L) {
259 lua_settable(L, 1);

Callers

nothing calls this directly

Calls 4

lua_absindexFunction · 0.85
lua_pushvalueFunction · 0.85
lua_pushstringFunction · 0.85
lua_pcallFunction · 0.85

Tested by

no test coverage detected