sead
Loading...
Searching...
No Matches
seadTypes.h File Reference

Go to the source code of this file.

Macros

#define SEAD_MACRO_UTIL_ROUNDUP(x, y)
#define SEAD_MACRO_UTIL_ROUNDDOWN(x, y)

Typedefs

typedef unsigned long uintptr
typedef long sintptr
typedef s64 d_sintptr
typedef uintptr uintptr_t
typedef sintptr intptr_t

Macro Definition Documentation

◆ SEAD_MACRO_UTIL_ROUNDUP

#define SEAD_MACRO_UTIL_ROUNDUP ( x,
y )
Value:
((x) + ((y) - 1) & ~((y) - 1))

◆ SEAD_MACRO_UTIL_ROUNDDOWN

#define SEAD_MACRO_UTIL_ROUNDDOWN ( x,
y )
Value:
((x) & ~((y) - 1))

Typedef Documentation

◆ uintptr

typedef unsigned long uintptr

◆ sintptr

typedef long sintptr

◆ d_sintptr

typedef s64 d_sintptr

◆ uintptr_t

typedef uintptr uintptr_t

◆ intptr_t

typedef sintptr intptr_t