14#if defined(__clang__) || defined(__GNUC__)
15#include <dolphin/os.h>
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#include <dolphin/os.h>
24#define NOT_IMPLEMENTED \
25 OSPanic(__FILE__, __LINE__, "Function is not implemented!")
38#define UNK_RET M2C_UNK
48#define UNK_PARAMS void
53#if defined(__MWERKS__) && !defined(M2CTX)
54#define UNK_SIZE_ARRAY []
56#define UNK_SIZE_ARRAY [0]
60#define U32_TO_F32 4503599627370496.0
61#define S32_TO_F32 4503601774854144.0
70#if defined(__clang__) || defined(__GNUC__)
71#define UNUSED __attribute__((unused))
77#define PAD_STACK(bytes) \
79 UNUSED unsigned char _[(bytes)]; \
83#define FORCE_PAD_STACK(bytes) \
85 UNUSED unsigned char _[(bytes)] = { 0 }; \
88#define FORCE_PAD_STACK_8 \
93#define FORCE_PAD_STACK_16 \
95 UNUSED u64 _0 = 0, _1 = 0; \
98#define FORCE_PAD_STACK_32 \
100 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:9
jmp_t jtbl_t[]
A jump table.
Definition placeholder.h:12