mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-05-17 01:51:20 +00:00
Retro seemingly avoided using the Dolphin typedefs in most places, opting to use int/uint instead. This likely means they didn't use u8/s8/u16/s16/etc either. Former-commit-id: 133326ae406a0ebc76f56f8bcb489fda280be2be
27 lines
394 B
C
27 lines
394 B
C
#ifndef _TYPES
|
|
#define _TYPES
|
|
|
|
#ifdef __cplusplus
|
|
#include "static_assert.hpp"
|
|
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <dolphin/types.h>
|
|
|
|
// Dolphin u32 is unsigned long
|
|
typedef unsigned int uint;
|
|
typedef unsigned short ushort;
|
|
typedef unsigned char uchar;
|
|
|
|
// Pointer to unknown, to be determined at a later date.
|
|
typedef void* unkptr;
|
|
|
|
#define SBig(x) x
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _TYPES
|