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

Function luaU_dump

Source/Misc/lua/src/lua.c:5817–5828  ·  view source on GitHub ↗

** dump Lua function as precompiled chunk */

Source from the content-addressed store, hash-verified

5815** dump Lua function as precompiled chunk
5816*/
5817int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip)
5818{
5819DumpState D;
5820D.L=L;
5821D.writer=w;
5822D.data=data;
5823D.strip=strip;
5824D.status=0;
5825DumpHeader(&D);
5826DumpFunction(f,NULL,&D);
5827return D.status;
5828}
5829/*
5830** $Id: lfunc.c,v 2.12.1.2 2007/12/28 14:58:43 roberto Exp $
5831** Auxiliary functions to manipulate prototypes and closures

Callers 1

lua_dumpFunction · 0.85

Calls 2

DumpHeaderFunction · 0.85
DumpFunctionFunction · 0.85

Tested by

no test coverage detected