summaryrefslogtreecommitdiffstats
path: root/jv.h
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2014-11-28 18:56:06 -0600
committerNicolas Williams <nico@cryptonector.com>2014-11-28 19:26:41 -0600
commitb349e7d9a80435e177d383c8ff9d552d15a96723 (patch)
tree8b2bd30ec7e2c2e799de757303c8c6120a497f01 /jv.h
parent30e00820a7cd6a198bc24a0499ee5c3ceb38ae75 (diff)
Print stack value refcounts when tracing (#636)
Diffstat (limited to 'jv.h')
-rw-r--r--jv.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/jv.h b/jv.h
index 08b89aec..5dca65cd 100644
--- a/jv.h
+++ b/jv.h
@@ -150,7 +150,14 @@ jv jv_object_iter_value(jv, int);
int jv_get_refcnt(jv);
-enum { JV_PRINT_PRETTY = 1, JV_PRINT_ASCII = 2, JV_PRINT_COLOUR = 4, JV_PRINT_SORTED = 8, JV_PRINT_INVALID = 16 };
+enum {
+ JV_PRINT_PRETTY = 1,
+ JV_PRINT_ASCII = 2,
+ JV_PRINT_COLOUR = 4,
+ JV_PRINT_SORTED = 8,
+ JV_PRINT_INVALID = 16,
+ JV_PRINT_REFCOUNT = 32,
+};
void jv_dumpf(jv, FILE *f, int flags);
void jv_dump(jv, int flags);
void jv_show(jv, int flags);