diff options
| author | nasr <nsrddyn@gmail.com> | 2026-03-03 20:05:11 +0000 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-03-03 20:05:11 +0000 |
| commit | 7165bb7ae9e34e69d0c8802d6e356851cffe0f07 (patch) | |
| tree | c2af6059cb3bcf38277188583af7d41207cf7cc0 /source/base/base_string.h | |
| parent | 4e77bc7164070d7ffafdee1ba6ce3bb1aaf10746 (diff) | |
feature(main): loading and printing csv file
Diffstat (limited to 'source/base/base_string.h')
| -rw-r--r-- | source/base/base_string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/base/base_string.h b/source/base/base_string.h index 941dc53..64a3162 100644 --- a/source/base/base_string.h +++ b/source/base/base_string.h | |||
| @@ -9,6 +9,10 @@ | |||
| 9 | #define PushString(arena, size) \ | 9 | #define PushString(arena, size) \ |
| 10 | (string8){ (u8 *)PushArray((arena), u8, (size)), (u64)(size) } | 10 | (string8){ (u8 *)PushArray((arena), u8, (size)), (u64)(size) } |
| 11 | 11 | ||
| 12 | #define StringFmt "%.*s" | ||
| 13 | #define ULongFmt "%lu" | ||
| 14 | #define ULLongFmt "%llu" | ||
| 15 | |||
| 12 | typedef struct string8 string8; | 16 | typedef struct string8 string8; |
| 13 | struct string8 | 17 | struct string8 |
| 14 | { | 18 | { |
