MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_rawgetp

Function lua_rawgetp

extlibs/lua/src/lapi.c:711–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709
710
711LUA_API int lua_rawgetp (lua_State *L, int idx, const void *p) {
712 Table *t;
713 TValue k;
714 lua_lock(L);
715 t = gettable(L, idx);
716 setpvalue(&k, cast_voidp(p));
717 return finishrawget(L, luaH_get(t, &k));
718}
719
720
721LUA_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