mirror of
https://github.com/clang-retro/mac-sdk.git
synced 2026-11-28 13:19:22 -08:00
tools/gen-headers.py turns defs/ into include/: one header per definition file, Multiverse.h with all of them, and the header names of Apple's Universal Interfaces. On 68k, calls become trap words through raw_inline, and register-based traps are inline functions with register variables; on PowerPC they are imports. Records use 68k alignment on both, and 32-bit types are long, as in Apple's headers. tests/run.sh compiles everything for both targets in C and C++, checks record sizes against Inside Macintosh, and builds examples/hello.c, which runs as a fat application on System 7.6.1 and Mac OS 8.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRDDKyi26yxudMyvEb
3 lines
76 B
C
3 lines
76 B
C
/* SegLoad.h: generated by tools/gen-headers.py. */
|
|
#include "Multiverse.h"
|