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

Function lua_rawget

extlibs/lua/src/lapi.c:691–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689
690
691LUA_API int lua_rawget (lua_State *L, int idx) {
692 Table *t;
693 const TValue *val;
694 lua_lock(L);
695 api_checknelems(L, 1);
696 t = gettable(L, idx);
697 val = luaH_get(t, s2v(L->top - 1));
698 L->top--; /* remove key */
699 return finishrawget(L, val);
700}
701
702
703LUA_API int lua_rawgeti (lua_State *L, int idx, lua_Integer n) {

Callers 9

luaB_rawgetFunction · 0.85
luaL_getmetafieldFunction · 0.85
checkfieldFunction · 0.85
hookfFunction · 0.85
db_gethookFunction · 0.85
lua_rawgetpFunction · 0.85
associated_type_nameFunction · 0.85
checkMethod · 0.85
getMethod · 0.85

Calls 3

gettableFunction · 0.85
luaH_getFunction · 0.85
finishrawgetFunction · 0.85

Tested by

no test coverage detected