MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_rawgetp

Function lua_rawgetp

third-party/lua-5.5.0/src/lapi.c:782–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780
781
782LUA_API int lua_rawgetp (lua_State *L, int idx, const void *p) {
783 Table *t;
784 TValue k;
785 lua_lock(L);
786 t = gettable(L, idx);
787 setpvalue(&k, cast_voidp(p));
788 return finishrawget(L, luaH_get(t, &k, s2v(L->top.p)));
789}
790
791
792LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {

Callers

nothing calls this directly

Calls 3

gettableFunction · 0.70
finishrawgetFunction · 0.70
luaH_getFunction · 0.70

Tested by

no test coverage detected