added more types and useful bool macros

This commit is contained in:
Agnosto Dvonik 2024-02-17 23:03:44 -05:00
parent 93721bca84
commit 2b3342238c

View File

@ -1,13 +1,19 @@
#ifndef TYPES_H #ifndef TYPES_H
#define TYPES_H #define TYPES_H
#define NULL 0x0 #define NULL 0x00
#define TRUE 0
#define FALSE 1
typedef unsigned int u32; typedef unsigned int u32;
typedef unsigned short u16; typedef unsigned short u16;
typedef unsigned char u8; typedef unsigned char u8;
typedef int s32; typedef int s32;
typedef short s16; typedef short s16;
typedef char s8; typedef char s8;
typedef unsigned int size_t;
typedef int ssize_t;
#endif #endif