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

Function finishrawget

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

Source from the content-addressed store, hash-verified

706
707
708static int finishrawget (lua_State *L, const TValue *val) {
709 if (isempty(val)) /* avoid copying empty items to the stack */
710 setnilvalue(s2v(L->top));
711 else
712 setobj2s(L, L->top, val);
713 api_incr_top(L);
714 lua_unlock(L);
715 return ttype(s2v(L->top - 1));
716}
717
718
719static Table *gettable (lua_State *L, int idx) {

Callers 3

lua_rawgetFunction · 0.85
lua_rawgetiFunction · 0.85
lua_rawgetpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected