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

Function loadUpvalues

extlibs/lua/src/lundump.c:199–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198
199static void loadUpvalues (LoadState *S, Proto *f) {
200 int i, n;
201 n = loadInt(S);
202 f->upvalues = luaM_newvectorchecked(S->L, n, Upvaldesc);
203 f->sizeupvalues = n;
204 for (i = 0; i < n; i++) {
205 f->upvalues[i].name = NULL;
206 f->upvalues[i].instack = loadByte(S);
207 f->upvalues[i].idx = loadByte(S);
208 f->upvalues[i].kind = loadByte(S);
209 }
210}
211
212
213static void loadDebug (LoadState *S, Proto *f) {

Callers 1

loadFunctionFunction · 0.85

Calls 2

loadIntFunction · 0.85
loadByteFunction · 0.85

Tested by

no test coverage detected