static void dump_json_image_check(ImageCheck *check, bool quiet)

{

    QString *str;

    QObject *obj;

    Visitor *v = qmp_output_visitor_new(&obj);



    visit_type_ImageCheck(v, NULL, &check, &error_abort);

    visit_complete(v, &obj);

    str = qobject_to_json_pretty(obj);

    assert(str != NULL);

    qprintf(quiet, "%s\n", qstring_get_str(str));

    qobject_decref(obj);

    visit_free(v);

    QDECREF(str);

}

static void dump_json_image_check(ImageCheck *check, bool quiet)

{

    QString *str;

    QObject *obj;

    Visitor *v = qmp_output_visitor_new(&obj);



    visit_type_ImageCheck(v, NULL, &check, &error_abort);

    visit_complete(v, &obj);

    str = qobject_to_json_pretty(obj);

    assert(str != NULL);

    qprintf(quiet, "%s\n", qstring_get_str(str));

    qobject_decref(obj);

    visit_free(v);

    QDECREF(str);

}

static void FUNC_0(ImageCheck *VAR_0, bool VAR_1)

{

    QString *str;

    QObject *obj;

    Visitor *v = qmp_output_visitor_new(&obj);



    visit_type_ImageCheck(v, NULL, &VAR_0, &error_abort);

    visit_complete(v, &obj);

    str = qobject_to_json_pretty(obj);

    assert(str != NULL);

    qprintf(VAR_1, "%s\n", qstring_get_str(str));

    qobject_decref(obj);

    visit_free(v);

    QDECREF(str);

}

static void FUNC_0(ImageCheck *VAR_0, bool VAR_1)
{ QString *str; QObject *obj; Visitor *v = qmp_output_visitor_new(&obj); visit_type_ImageCheck(v, NULL, &VAR_0, &error_abort); visit_complete(v, &obj); str = qobject_to_json_pretty(obj); assert(str != NULL); qprintf(VAR_1, "%s\n", qstring_get_str(str)); qobject_decref(obj); visit_free(v); QDECREF(str); }