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

Function finishrawget

lib/lua/src/lapi.c:714–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712
713
714l_sinline int finishrawget (lua_State *L, const TValue *val) {
715 if (isempty(val)) /* avoid copying empty items to the stack */
716 setnilvalue(s2v(L->top.p));
717 else
718 setobj2s(L, L->top.p, val);
719 api_incr_top(L);
720 lua_unlock(L);
721 return ttype(s2v(L->top.p - 1));
722}
723
724
725static 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