MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / lua_rawget

Function lua_rawget

Dependencies/lua/src/lapi.c:732–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730
731
732LUA_API int lua_rawget (lua_State *L, int idx) {
733 Table *t;
734 const TValue *val;
735 lua_lock(L);
736 api_checknelems(L, 1);
737 t = gettable(L, idx);
738 val = luaH_get(t, s2v(L->top.p - 1));
739 L->top.p--; /* remove key */
740 return finishrawget(L, val);
741}
742
743
744LUA_API int lua_rawgeti (lua_State *L, int idx, lua_Integer n) {

Callers 10

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

Calls 3

gettableFunction · 0.85
luaH_getFunction · 0.85
finishrawgetFunction · 0.85

Tested by 1

runCFunction · 0.68