MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_rawgetp

Function lua_rawgetp

lib/lua/src/lapi.c:752–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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