2022-04-04 14:22:31 +00:00
|
|
|
#ifndef __TYPES_H__
|
|
|
|
#define __TYPES_H__
|
2022-03-23 21:22:48 +00:00
|
|
|
|
2022-04-04 14:22:31 +00:00
|
|
|
#ifdef __cplusplus
|
2022-08-13 01:26:00 +00:00
|
|
|
#include "static_assert.hpp"
|
|
|
|
|
2022-04-04 14:22:31 +00:00
|
|
|
extern "C" {
|
|
|
|
#endif
|
2022-03-23 21:22:48 +00:00
|
|
|
|
2022-09-01 00:22:20 +00:00
|
|
|
#include <dolphin/types.h>
|
2022-04-30 08:32:00 +00:00
|
|
|
|
2022-09-05 04:01:13 +00:00
|
|
|
// Dolphin u32 is unsigned long
|
|
|
|
typedef unsigned int uint;
|
2022-09-14 05:24:41 +00:00
|
|
|
typedef unsigned char uchar;
|
2022-09-05 04:01:13 +00:00
|
|
|
|
2022-03-23 21:22:48 +00:00
|
|
|
// Pointer to unknown, to be determined at a later date.
|
|
|
|
typedef void* unkptr;
|
|
|
|
|
2022-09-05 04:00:04 +00:00
|
|
|
#define SBig(x) x
|
|
|
|
|
2022-04-04 14:22:31 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2022-03-23 21:22:48 +00:00
|
|
|
|
|
|
|
#endif
|