feat: (u)intptr_t typedefs

This commit is contained in:
thetek 2023-07-10 13:18:10 +02:00
parent bd59b7ec7d
commit 2d4a7ec4ec
1 changed files with 3 additions and 1 deletions

View File

@ -71,9 +71,11 @@ typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
// (s)size_t
// (s)size_t, (u)intptr_t
typedef ssize_t isize;
typedef size_t usize;
typedef intptr_t iptr;
typedef uintptr_t uptr;
// fixed-size booleans
typedef uint8_t b8;
typedef uint16_t b16;