MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / LoadCode

Function LoadCode

deps/lua/src/lundump.c:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static void LoadCode(LoadState* S, Proto* f)
91{
92 int n=LoadInt(S);
93 f->code=luaM_newvector(S->L,n,Instruction);
94 f->sizecode=n;
95 LoadVector(S,f->code,n,sizeof(Instruction));
96}
97
98static Proto* LoadFunction(LoadState* S, TString* p);
99

Callers 1

LoadFunctionFunction · 0.85

Calls 1

LoadIntFunction · 0.85

Tested by

no test coverage detected