|
SSBM Decomp
|
This header contains macros emitted by m2c in "valid syntax" mode, which can be enabled by passing --valid-syntax on the command line. More...
#include <platform.h>Go to the source code of this file.
Macros | |
| #define | M2C_FIELD(expr, type_ptr, offset) |
| #define | M2C_BITWISE(type, expr) |
| #define | M2C_LWL(expr) |
| #define | M2C_FIRST3BYTES(expr) |
| #define | M2C_UNALIGNED32(expr) |
| #define | M2C_ERROR(desc) |
| #define | M2C_TRAP_IF(cond) |
| #define | M2C_BREAK() |
| #define | M2C_SYNC() |
| #define | M2C_CARRY 0 |
| #define | M2C_MEMCPY_ALIGNED memcpy |
| #define | M2C_MEMCPY_UNALIGNED memcpy |
Typedefs | |
| typedef s32 | M2C_UNK |
| typedef s8 | M2C_UNK8 |
| typedef s16 | M2C_UNK16 |
| typedef s32 | M2C_UNK32 |
| typedef s64 | M2C_UNK64 |
This header contains macros emitted by m2c in "valid syntax" mode, which can be enabled by passing --valid-syntax on the command line.
In this mode, unhandled types and expressions are emitted as macros so that the output is compilable without human intervention.
| #define M2C_FIELD | ( | expr, | |
| type_ptr, | |||
| offset ) |
| #define M2C_BITWISE | ( | type, | |
| expr ) |
| #define M2C_LWL | ( | expr | ) |
| #define M2C_FIRST3BYTES | ( | expr | ) |
| #define M2C_UNALIGNED32 | ( | expr | ) |
| #define M2C_ERROR | ( | desc | ) |
| #define M2C_TRAP_IF | ( | cond | ) |
| #define M2C_BREAK | ( | ) |
| #define M2C_SYNC | ( | ) |
| #define M2C_CARRY 0 |
| #define M2C_MEMCPY_ALIGNED memcpy |
| #define M2C_MEMCPY_UNALIGNED memcpy |
| typedef s16 M2C_UNK16 |
| typedef s64 M2C_UNK64 |