MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / lua_rawgetp

Function lua_rawgetp

lua/src/lapi.c:756–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754
755
756LUA_API int lua_rawgetp (lua_State *L, int idx, const void *p) {
757 Table *t;
758 TValue k;
759 lua_lock(L);
760 t = gettable(L, idx);
761 setpvalue(&k, cast_voidp(p));
762 return finishrawget(L, luaH_get(t, &k));
763}
764
765
766LUA_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