MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / luaU_dump

Function luaU_dump

ThirdParty/lua/lua/ldump.c:201–213  ·  view source on GitHub ↗

** dump Lua function as precompiled chunk */

Source from the content-addressed store, hash-verified

199** dump Lua function as precompiled chunk
200*/
201int luaU_dump(lua_State *L, const Proto *f, lua_Writer w, void *data,
202 int strip) {
203 DumpState D;
204 D.L = L;
205 D.writer = w;
206 D.data = data;
207 D.strip = strip;
208 D.status = 0;
209 DumpHeader(&D);
210 DumpByte(f->sizeupvalues, &D);
211 DumpFunction(f, NULL, &D);
212 return D.status;
213}
214

Callers 1

lua_dumpFunction · 0.85

Calls 3

DumpHeaderFunction · 0.85
DumpByteFunction · 0.85
DumpFunctionFunction · 0.85

Tested by

no test coverage detected