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
1 changed files with 10 additions and 4 deletions

View File

@ -1,7 +1,10 @@
#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;
@ -10,4 +13,7 @@ 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