added the container_state parameter to the mio_json_instcb_t callback

This commit is contained in:
2020-06-06 19:45:11 +00:00
parent 2174c1bd9b
commit 378f148f73
4 changed files with 39 additions and 22 deletions

View File

@ -30,7 +30,7 @@
#include <stdio.h>
#include <string.h>
static int on_json_inst (mio_json_t* json, mio_json_inst_t inst, mio_oow_t level, mio_oow_t index, const mio_oocs_t* str, void* ctx)
static int on_json_inst (mio_json_t* json, mio_json_inst_t inst, mio_oow_t level, mio_oow_t index, mio_json_state_t container_state, const mio_oocs_t* str, void* ctx)
{
mio_t* mio = mio_json_getmio(json);
mio_oow_t i;