Files
2023-08-18 16:13:13 +02:00

55 lines
1005 B
C

#ifndef TYPES_H
#define TYPES_H
#include "macros.h"
typedef signed char s8;
typedef signed short s16;
typedef signed long s32;
typedef signed long long s64;
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
typedef unsigned long size_t;
typedef unsigned long long u64;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef volatile u8 vu8;
typedef volatile u16 vu16;
typedef volatile u32 vu32;
typedef volatile u64 vu64;
typedef volatile s8 vs8;
typedef volatile s16 vs16;
typedef volatile s32 vs32;
typedef volatile s64 vs64;
typedef float f32;
typedef double f64;
typedef volatile f32 vf32;
typedef volatile f64 vf64;
typedef int BOOL;
typedef int unknown;
#ifndef __cplusplus
typedef unsigned short wchar_t;
typedef wchar_t wint_t;
#endif
// Basic defines to allow newer-like C++ code to be written
#define TRUE 1
#define FALSE 0
#define nullptr 0
#define null 0
#ifndef NULL
#define NULL 0
#endif
#define UINT32_MAX 0xffffffff
#endif // !TYPES_H