static void qobject_input_type_bool(Visitor *v, const char *name, bool *obj,

                                    Error **errp)

{

    QObjectInputVisitor *qiv = to_qiv(v);

    QObject *qobj = qobject_input_get_object(qiv, name, true, errp);

    QBool *qbool;



    if (!qobj) {

        return;

    }

    qbool = qobject_to_qbool(qobj);

    if (!qbool) {

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",

                   "boolean");

        return;

    }



    *obj = qbool_get_bool(qbool);

}

static void qobject_input_type_bool(Visitor *v, const char *name, bool *obj,

                                    Error **errp)

{

    QObjectInputVisitor *qiv = to_qiv(v);

    QObject *qobj = qobject_input_get_object(qiv, name, true, errp);

    QBool *qbool;



    if (!qobj) {

        return;

    }

    qbool = qobject_to_qbool(qobj);

    if (!qbool) {

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",

                   "boolean");

        return;

    }



    *obj = qbool_get_bool(qbool);

}

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",         error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",         error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",         error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",         error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",                    "boolean");         error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",         error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",
static void FUNC_0(Visitor *VAR_0, const char *VAR_1, bool *VAR_2,

                                    Error **VAR_3)

{

    QObjectInputVisitor *qiv = to_qiv(VAR_0);

    QObject *qobj = qobject_input_get_object(qiv, VAR_1, true, VAR_3);

    QBool *qbool;



    if (!qobj) {

        return;

    }

    qbool = qobject_to_qbool(qobj);

    if (!qbool) {

        error_setg(VAR_3, QERR_INVALID_PARAMETER_TYPE, VAR_1 ? VAR_1 : "null",

                   "boolean");

        return;

    }



    *VAR_2 = qbool_get_bool(qbool);

}

static void FUNC_0(Visitor *VAR_0, const char *VAR_1, bool *VAR_2,
Error **VAR_3)
{ QObjectInputVisitor *qiv = to_qiv(VAR_0); QObject *qobj = qobject_input_get_object(qiv, VAR_1, true, VAR_3); QBool *qbool; if (!qobj) { return; } qbool = qobject_to_qbool(qobj); if (!qbool) { error_setg(VAR_3, QERR_INVALID_PARAMETER_TYPE, VAR_1 ? VAR_1 : "null",
"boolean"); return; } *VAR_2 = qbool_get_bool(qbool); }