summaryrefslogtreecommitdiffstats
path: root/execute.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-05 23:12:10 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-05 23:12:10 +0100
commit1741d8c1618c1826628c9deb70f3876ed22501f3 (patch)
tree10f92e4de8bbdfa4a164513c542c32fff1939982 /execute.h
parentc1748fa633b327ab4c0146c70680b1583e74e54f (diff)
Remove JQ_DEBUG #define and jq_test binary, simplifying build.
The debugging features previously available via JQ_DEBUG are now command-line options.
Diffstat (limited to 'execute.h')
-rw-r--r--execute.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/execute.h b/execute.h
index 77509f21..1cf14df7 100644
--- a/execute.h
+++ b/execute.h
@@ -6,8 +6,9 @@
struct bytecode* jq_compile(const char* str);
typedef struct jq_state jq_state;
+enum {JQ_DEBUG_TRACE = 1};
-void jq_init(struct bytecode* bc, jv value, jq_state **);
+void jq_init(struct bytecode* bc, jv value, jq_state **, int flags);
jv jq_next(jq_state *);
void jq_teardown(jq_state **);