Mercurial
comparison dowa/dowa.h @ 74:4b96794c8d59
[Dowa] Added 64 type
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 31 Dec 2025 11:17:24 -0800 |
| parents | 4532ce6d9eb8 |
| children | 655ea0b661fd |
comparison
equal
deleted
inserted
replaced
| 73:ede391ac83c8 | 74:4b96794c8d59 |
|---|---|
| 46 (p) = NULL; \ | 46 (p) = NULL; \ |
| 47 } \ | 47 } \ |
| 48 } while (0) | 48 } while (0) |
| 49 | 49 |
| 50 // Fixed-width integer types | 50 // Fixed-width integer types |
| 51 typedef unsigned int uint32; | 51 typedef unsigned long long uint64; |
| 52 typedef int int32; | 52 typedef long long int64; |
| 53 typedef unsigned short uint16; | 53 typedef unsigned int uint32; |
| 54 typedef short int16; | 54 typedef int int32; |
| 55 typedef unsigned char uint8; | 55 typedef unsigned short uint16; |
| 56 typedef char int8; | 56 typedef short int16; |
| 57 typedef char boolean; | 57 typedef unsigned char uint8; |
| 58 typedef char int8; | |
| 59 typedef char boolean; | |
| 58 | 60 |
| 59 // --- Arena Allocator --- // | 61 // --- Arena Allocator --- // |
| 60 typedef struct { | 62 typedef struct { |
| 61 char *buffer; | 63 char *buffer; |
| 62 size_t offset; | 64 size_t offset; |