MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / lua_rawgetp

Function lua_rawgetp

src/lapi.cpp:837–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

835
836
837LUA_API int lua_rawgetp (lua_State *L, int idx, const void *p) {
838 Table *t;
839 TValue k;
840 lua_lock(L);
841 t = gettable(L, idx);
842 setpvalue(&k, cast_voidp(p));
843 return finishrawget(L, luaH_get(t, &k, s2v(L->top.p)));
844}
845
846
847LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {

Callers

nothing calls this directly

Calls 3

gettableFunction · 0.85
finishrawgetFunction · 0.85
luaH_getFunction · 0.85

Tested by

no test coverage detected