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

Function luaU_dump

third-party/lua-5.2.4/src/ldump.c:162–173  ·  view source on GitHub ↗

** dump Lua function as precompiled chunk */

Source from the content-addressed store, hash-verified

160** dump Lua function as precompiled chunk
161*/
162int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip)
163{
164 DumpState D;
165 D.L=L;
166 D.writer=w;
167 D.data=data;
168 D.strip=strip;
169 D.status=0;
170 DumpHeader(&D);
171 DumpFunction(f,&D);
172 return D.status;
173}

Callers 2

pmainFunction · 0.70
lua_dumpFunction · 0.70

Calls 2

DumpHeaderFunction · 0.70
DumpFunctionFunction · 0.70

Tested by

no test coverage detected