MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / WriteMeta

Function WriteMeta

xdevice.cpp:1738–1755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1736// actually write out the entire buffer to the specifed file.
1737
1738void WriteMeta(FILE *file)
1739{
1740 word *w;
1741#if FALSE
1742 int i;
1743
1744 for (i = 16*5+1+(gs.nFontAll > 0)*4; i >= 0; i--) {
1745 MetaDeleteObject(i);
1746 }
1747#endif
1748 MetaRestoreDc();
1749 MetaRecord(3, 0); // End record
1750 *(long *)(gi.bm + 22 + 6) =
1751 ((long)((pbyte)gi.pwMetaCur - gi.bm) - 22) / 2;
1752 for (w = (word *)gi.bm; w < gi.pwMetaCur; w++) {
1753 PutWord(*w);
1754 }
1755}
1756#endif // META
1757
1758

Callers 1

EndFileXFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected