SSBM Decomp
Loading...
Searching...
No Matches
placeholder.h File Reference
#include <platform.h>
#include <m2c_macros.h>
#include <dolphin/os.h>

Go to the source code of this file.

Macros

#define NOT_IMPLEMENTED    OSPanic(__FILE__, __LINE__, "Function is not implemented!")
 
#define UNK_T   void*
 
#define UNK_RET   void
 
#define UNK_PARAMS   void
 
#define UNK_SIZE_ARRAY   [0]
 
#define U32_TO_F32   4503599627370496.0
 
#define S32_TO_F32   4503601774854144.0
 
#define ASM
 
#define UNUSED
 
#define PAD_STACK(bytes)
 
#define FORCE_PAD_STACK(bytes)
 
#define FORCE_PAD_STACK_8
 
#define FORCE_PAD_STACK_16
 
#define FORCE_PAD_STACK_32
 

Typedefs

typedef void(* jmp_t) (void)
 A label in a jump table.
 
typedef jmp_t jtbl_t[]
 A jump table.
 

Macro Definition Documentation

◆ NOT_IMPLEMENTED

#define NOT_IMPLEMENTED    OSPanic(__FILE__, __LINE__, "Function is not implemented!")

◆ UNK_T

#define UNK_T   void*

◆ UNK_RET

#define UNK_RET   void

◆ UNK_PARAMS

#define UNK_PARAMS   void

◆ UNK_SIZE_ARRAY

#define UNK_SIZE_ARRAY   [0]

◆ U32_TO_F32

#define U32_TO_F32   4503599627370496.0

◆ S32_TO_F32

#define S32_TO_F32   4503601774854144.0

◆ ASM

#define ASM

◆ UNUSED

#define UNUSED

◆ PAD_STACK

#define PAD_STACK (   bytes)
Value:
do { \
UNUSED unsigned char _[(bytes)]; \
} while (0)
s8 bytes[64]
Definition ftCh_Init.c:1208
static u32 _[]
Definition grstory.c:330
#define UNUSED
Definition placeholder.h:73

◆ FORCE_PAD_STACK

#define FORCE_PAD_STACK (   bytes)
Value:
do { \
UNUSED unsigned char _[(bytes)] = { 0 }; \
} while (0)
Warning
Creates fake .rodata entries!

◆ FORCE_PAD_STACK_8

#define FORCE_PAD_STACK_8
Value:
do { \
UNUSED u64 _0 = 0; \
} while (0)

◆ FORCE_PAD_STACK_16

#define FORCE_PAD_STACK_16
Value:
do { \
UNUSED u64 _0 = 0, _1 = 0; \
} while (0)
u8 _1[0x30]
Definition mnstagesel.c:76

◆ FORCE_PAD_STACK_32

#define FORCE_PAD_STACK_32
Value:
do { \
UNUSED u64 _0 = 0, _1 = 0, _2 = 0, _3 = 0; \
} while (0)
u8 _2[0xb0 - 0x40]
Definition mnstagesel.c:81

Typedef Documentation

◆ jmp_t

typedef void(* jmp_t) (void)

A label in a jump table.

◆ jtbl_t

typedef jmp_t jtbl_t[]

A jump table.