diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-05-30 08:15:29 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-05-30 08:15:29 +0100 |
commit | 70aa166624a5377c8dd60854cea967325af8c21b (patch) | |
tree | 4ec6497fc5c557cb4266f23627c92a1fb069f613 /lib/sv.h | |
parent | 4dc3d8f8325994d737f1959c1554480f4ccbc60f (diff) | |
download | oats-70aa166624a5377c8dd60854cea967325af8c21b.tar.gz oats-70aa166624a5377c8dd60854cea967325af8c21b.tar.bz2 oats-70aa166624a5377c8dd60854cea967325af8c21b.zip |
Clean up
Diffstat (limited to 'lib/sv.h')
-rw-r--r-- | lib/sv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ typedef struct SV #define SV(DATA, SIZE) ((const sv_t){.size = (SIZE), .data = (DATA)}) #define SV_FMT(SV) (int)(SV).size, (SV).data #define PR_SV "%.*s" +#define PR_DEBUG_SV "%d@%p" sv_t sv_make(arena_t *allocator, const char *data, u64 size); sv_t sv_copy(arena_t *allocator, sv_t sv); |