14#if defined(__clang__) || defined(__GNUC__)
16#define NOT_IMPLEMENTED \
17 OSPanic(__FILE__, __LINE__, "%s is not implemented!", __func__)
18#elif defined(__MWERKS__) && !defined(BUGFIX)
19#define NOT_IMPLEMENTED asm { nop }
21#include <dolphin/OSError.h>
22#define NOT_IMPLEMENTED
36#define UNK_RET M2C_UNK
46#define UNK_PARAMS void
51#if defined(__MWERKS__) && !defined(M2CTX)
52#define UNK_SIZE_ARRAY []
54#define UNK_SIZE_ARRAY [0]
58#define U32_TO_F32 4503599627370496.0
59#define S32_TO_F32 4503601774854144.0
68#if defined(__clang__) || defined(__GNUC__)
69#define UNUSED __attribute__((unused))
75#define PAD_STACK(bytes) \
77 UNUSED unsigned char _[(bytes)]; \
81#define FORCE_PAD_STACK(bytes) \
83 UNUSED unsigned char _[(bytes)] = { 0 }; \
86#define FORCE_PAD_STACK_8 \
91#define FORCE_PAD_STACK_16 \
93 UNUSED u64 _0 = 0, _1 = 0; \
96#define FORCE_PAD_STACK_32 \
98 UNUSED u64 _0 = 0, _1 = 0, _2 = 0, _3 = 0; \
void OSPanic(char *file, int line, char *msg,...)
Definition OSError.c:21
#define __FILE__
Definition ftYs_Init.c:2
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