MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / LoadFunction

Function LoadFunction

third-party/lua-5.2.4/src/lundump.c:171–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171static void LoadFunction(LoadState* S, Proto* f)
172{
173 f->linedefined=LoadInt(S);
174 f->lastlinedefined=LoadInt(S);
175 f->numparams=LoadByte(S);
176 f->is_vararg=LoadByte(S);
177 f->maxstacksize=LoadByte(S);
178 LoadCode(S,f);
179 LoadConstants(S,f);
180 LoadUpvalues(S,f);
181 LoadDebug(S,f);
182}
183
184/* the code below must be consistent with the code in luaU_header */
185#define N0 LUAC_HEADERSIZE

Callers 2

LoadConstantsFunction · 0.70
luaU_undumpFunction · 0.70

Calls 6

LoadByteFunction · 0.85
LoadIntFunction · 0.70
LoadCodeFunction · 0.70
LoadConstantsFunction · 0.70
LoadUpvaluesFunction · 0.70
LoadDebugFunction · 0.70

Tested by

no test coverage detected