Enable printing of stack val refcnts

This commit is contained in:
Nicolas Williams committed 2014-11-28 19:35:29 -06:00
1 parent b349e7d9a8
commit 79000644c6
1 file changed
+1 -1
+1 -1
View File
@@ -302,7 +302,7 @@ jv jq_next(jq_state *jq) {
param = *stack_block_next(&jq->stk, param);
}
if (!param) break;
jv_dump(jv_copy(*(jv*)stack_block(&jq->stk, param)), 0);
jv_dump(jv_copy(*(jv*)stack_block(&jq->stk, param)), JV_PRINT_REFCOUNT);
//printf("<%d>", jv_get_refcnt(param->val));
//printf(" -- ");
//jv_dump(jv_copy(jq->path), 0);