diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-08-29 20:04:35 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-08-29 20:04:35 +0100 |
commit | a9b08d3a1158042d36ee07a2513d5c8b654b8f85 (patch) | |
tree | 6078c5de3a833258eb8cbc74dee77d22b6b2cb7d | |
parent | d62a11bb35bc42f86b3e41b69e6fd930c20d69b1 (diff) | |
download | alisp-a9b08d3a1158042d36ee07a2513d5c8b654b8f85.tar.gz alisp-a9b08d3a1158042d36ee07a2513d5c8b654b8f85.tar.bz2 alisp-a9b08d3a1158042d36ee07a2513d5c8b654b8f85.zip |
Add printer for SV's that provides debug information
-rw-r--r-- | alisp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -50,6 +50,7 @@ typedef struct #define SV(DATA, SIZE) ((sv_t){.data = (DATA), .size = (SIZE)}) #define SV_FMT(SV) (int)(SV).size, (SV).data #define PR_SV "%.*s" +#define PRD_SV "%d@%p" sv_t sv_copy(sv_t); |