15#if defined(__clang__) || defined(__GNUC__)
16#define NOT_IMPLEMENTED \
17 OSPanic(__FILE__, __LINE__, "%s is not implemented!", __func__)
19#define NOT_IMPLEMENTED
20#elif defined(__MWERKS__) && !defined(BUGFIX)
21#define NOT_IMPLEMENTED asm { nop }
23#define NOT_IMPLEMENTED \
24 OSPanic(__FILE__, __LINE__, "Function is not implemented!")
37#define UNK_RET M2C_UNK
47#define UNK_PARAMS void
52#if defined(__MWERKS__) && !defined(M2CTX)
53#define UNK_SIZE_ARRAY []
55#define UNK_SIZE_ARRAY [0]
59#define U32_TO_F32 4503599627370496.0
60#define S32_TO_F32 4503601774854144.0
69#if defined(__clang__) || defined(__GNUC__)
70#define UNUSED __attribute__((unused))
76#define PAD_STACK(bytes) \
78 UNUSED unsigned char _[(bytes)]; \
82#define FORCE_PAD_STACK(bytes) \
84 UNUSED unsigned char _[(bytes)] = { 0 }; \
87#define FORCE_PAD_STACK_4 \
92#define FORCE_PAD_STACK_8 \
97#define FORCE_PAD_STACK_16 \
99 UNUSED u64 _0 = 0, _1 = 0; \
102#define FORCE_PAD_STACK_32 \
104 UNUSED u64 _0 = 0, _1 = 0, _2 = 0, _3 = 0; \
This header contains macros emitted by m2c in "valid syntax" mode, which can be enabled by passing --...
void(* jmp_t)(void)
A label in a jump table.
Definition placeholder.h:10
jmp_t jtbl_t[]
A jump table.
Definition placeholder.h:13