diff --git a/types.h b/types.h index cd25ff8..69e74d4 100644 --- a/types.h +++ b/types.h @@ -4,4 +4,13 @@ typedef unsigned char u8; typedef unsigned short u16; typedef unsigned int u32; typedef unsigned long u64; -typedef u64 size_t; + +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; +typedef unsigned long uint64_t; +typedef uint64_t size_t; + +typedef uint64_t uintptr_t; + +typedef u8 bool;