MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / dumpHeader

Function dumpHeader

lib/lua/src/ldump.c:201–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200
201static void dumpHeader (DumpState *D) {
202 dumpLiteral(D, LUA_SIGNATURE);
203 dumpByte(D, LUAC_VERSION);
204 dumpByte(D, LUAC_FORMAT);
205 dumpLiteral(D, LUAC_DATA);
206 dumpByte(D, sizeof(Instruction));
207 dumpByte(D, sizeof(lua_Integer));
208 dumpByte(D, sizeof(lua_Number));
209 dumpInteger(D, LUAC_INT);
210 dumpNumber(D, LUAC_NUM);
211}
212
213
214/*

Callers 1

luaU_dumpFunction · 0.85

Calls 3

dumpByteFunction · 0.85
dumpIntegerFunction · 0.85
dumpNumberFunction · 0.85

Tested by

no test coverage detected