Reduce number of msg callback typedefs
This commit is contained in:
1 parent
0d414471bb
commit
a83a9e0bc2
5 files changed
+17
-18
No files matched your search
@@ -895,11 +895,11 @@ static jv f_input(jq_state *jq, jv input) {
|
||||
}
|
||||
|
||||
static jv f_debug(jq_state *jq, jv input) {
|
||||
jq_debug_cb cb;
|
||||
jq_msg_cb cb;
|
||||
void *data;
|
||||
jq_get_debug_cb(jq, &cb, &data);
|
||||
if (cb != NULL)
|
||||
cb(jq, data, jv_copy(input));
|
||||
cb(data, jv_copy(input));
|
||||
return input;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user