MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaU_dump

Function luaU_dump

extlibs/lua/src/ldump.c:213–225  ·  view source on GitHub ↗

** dump Lua function as precompiled chunk */

Source from the content-addressed store, hash-verified

211** dump Lua function as precompiled chunk
212*/
213int luaU_dump(lua_State *L, const Proto *f, lua_Writer w, void *data,
214 int strip) {
215 DumpState D;
216 D.L = L;
217 D.writer = w;
218 D.data = data;
219 D.strip = strip;
220 D.status = 0;
221 dumpHeader(&D);
222 dumpByte(&D, f->sizeupvalues);
223 dumpFunction(&D, f, NULL);
224 return D.status;
225}
226

Callers 2

pmainFunction · 0.85
lua_dumpFunction · 0.85

Calls 3

dumpHeaderFunction · 0.85
dumpByteFunction · 0.85
dumpFunctionFunction · 0.85

Tested by

no test coverage detected