static const char *qobject_input_get_keyval(QObjectInputVisitor *qiv,

                                            const char *name,

                                            Error **errp)

{

    QObject *qobj;

    QString *qstr;



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

    if (!qobj) {

        return NULL;

    }



    qstr = qobject_to_qstring(qobj);

    if (!qstr) {

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE,

                   full_name(qiv, name), "string");

        return NULL;

    }



    return qstring_get_str(qstr);

}

static const char *qobject_input_get_keyval(QObjectInputVisitor *qiv,

                                            const char *name,

                                            Error **errp)

{

    QObject *qobj;

    QString *qstr;



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

    if (!qobj) {

        return NULL;

    }



    qstr = qobject_to_qstring(qobj);

    if (!qstr) {

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE,

                   full_name(qiv, name), "string");

        return NULL;

    }



    return qstring_get_str(qstr);

}

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE,                    full_name(qiv, name), "string");         return NULL;
static const char *FUNC_0(QObjectInputVisitor *VAR_0,

                                            const char *VAR_1,

                                            Error **VAR_2)

{

    QObject *qobj;

    QString *qstr;



    qobj = qobject_input_get_object(VAR_0, VAR_1, true, VAR_2);

    if (!qobj) {

        return NULL;

    }



    qstr = qobject_to_qstring(qobj);

    if (!qstr) {

        error_setg(VAR_2, QERR_INVALID_PARAMETER_TYPE,

                   full_name(VAR_0, VAR_1), "string");

        return NULL;

    }



    return qstring_get_str(qstr);

}

static const char *FUNC_0(QObjectInputVisitor *VAR_0,
const char *VAR_1,
Error **VAR_2)
{ QObject *qobj; QString *qstr; qobj = qobject_input_get_object(VAR_0, VAR_1, true, VAR_2); if (!qobj) { return NULL; } qstr = qobject_to_qstring(qobj); if (!qstr) { error_setg(VAR_2, QERR_INVALID_PARAMETER_TYPE,
full_name(VAR_0, VAR_1), "string"); return NULL; } return qstring_get_str(qstr); }