aboutsummaryrefslogtreecommitdiff
path: root/lib/sv.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sv.h')
-rw-r--r--lib/sv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sv.h b/lib/sv.h
index 3293b1c..4e600c2 100644
--- a/lib/sv.h
+++ b/lib/sv.h
@@ -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);