MCPcopy Create free account
hub / github.com/DFHack/dfhack / DumpHeader

Function DumpHeader

depends/lua/src/ldump.c:184–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183
184static void DumpHeader (DumpState *D) {
185 DumpLiteral(LUA_SIGNATURE, D);
186 DumpByte(LUAC_VERSION, D);
187 DumpByte(LUAC_FORMAT, D);
188 DumpLiteral(LUAC_DATA, D);
189 DumpByte(sizeof(int), D);
190 DumpByte(sizeof(size_t), D);
191 DumpByte(sizeof(Instruction), D);
192 DumpByte(sizeof(lua_Integer), D);
193 DumpByte(sizeof(lua_Number), D);
194 DumpInteger(LUAC_INT, D);
195 DumpNumber(LUAC_NUM, D);
196}
197
198
199/*

Callers 1

luaU_dumpFunction · 0.85

Calls 3

DumpByteFunction · 0.85
DumpIntegerFunction · 0.85
DumpNumberFunction · 0.85

Tested by

no test coverage detected