MCPcopy Create free account
hub / github.com/DFHack/dfhack / LoadCode

Function LoadCode

depends/lua/src/lundump.c:113–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113static void LoadCode (LoadState *S, Proto *f) {
114 int n = LoadInt(S);
115 f->code = luaM_newvector(S->L, n, Instruction);
116 f->sizecode = n;
117 LoadVector(S, f->code, n);
118}
119
120
121static void LoadFunction(LoadState *S, Proto *f, TString *psource);

Callers 1

LoadFunctionFunction · 0.85

Calls 1

LoadIntFunction · 0.85

Tested by

no test coverage detected