MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lua_rawgetp

Function lua_rawgetp

3rd/lua-5.4.3/src/lapi.c:746–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744
745
746LUA_API int lua_rawgetp (lua_State *L, int idx, const void *p) {
747 Table *t;
748 TValue k;
749 lua_lock(L);
750 t = gettable(L, idx);
751 setpvalue(&k, cast_voidp(p));
752 return finishrawget(L, luaH_get(t, &k));
753}
754
755
756LUA_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