Add debug builtin

And refactor setup of jv dump flags.
This commit is contained in:
Nicolas Williams committed 2014-12-27 18:25:34 -06:00
1 parent a9c613e87d
commit 5df20f4954
5 files changed
+65 -17

No files matched your search

+4
View File
@@ -26,6 +26,10 @@ typedef jv (*jq_input_cb)(jq_state *, void *);
void jq_set_input_cb(jq_state *, jq_input_cb, void *);
void jq_get_input_cb(jq_state *, jq_input_cb *, void **);
typedef void (*jq_debug_cb)(jq_state *, void *, jv);
void jq_set_debug_cb(jq_state *, jq_debug_cb, void *);
void jq_get_debug_cb(jq_state *, jq_debug_cb *, void **);
void jq_set_attrs(jq_state *, jv);
jv jq_get_attrs(jq_state *);
jv jq_get_jq_origin(jq_state *);