MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / LoadCode

Function LoadCode

Source/Misc/lua/src/lua.c:9993–9999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9991}
9992
9993static void LoadCode(LoadState* S, Proto* f)
9994{
9995int n=LoadInt(S);
9996f->code=luaM_newvector(S->L,n,Instruction);
9997f->sizecode=n;
9998LoadVector(S,f->code,n,sizeof(Instruction));
9999}
10000
10001static Proto* LoadFunction(LoadState* S, TString* p);
10002

Callers 1

LoadFunctionFunction · 0.85

Calls 1

LoadIntFunction · 0.85

Tested by

no test coverage detected