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

Function dumpHeader

extlibs/lua/src/ldump.c:197–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

luaU_dumpFunction · 0.85

Calls 4

dumpIntFunction · 0.85
dumpByteFunction · 0.85
dumpIntegerFunction · 0.85
dumpNumberFunction · 0.85

Tested by

no test coverage detected