static void qobject_input_start_list(Visitor *v, const char *name,

                                     GenericList **list, size_t size,

                                     Error **errp)

{

    QObjectInputVisitor *qiv = to_qiv(v);

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

    const QListEntry *entry;



    if (list) {

        *list = NULL;

    }

    if (!qobj) {

        return;

    }

    if (qobject_type(qobj) != QTYPE_QLIST) {

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

                   "list");

        return;

    }



    entry = qobject_input_push(qiv, qobj, list);

    if (entry && list) {

        *list = g_malloc0(size);

    }

}

static void qobject_input_start_list(Visitor *v, const char *name,

                                     GenericList **list, size_t size,

                                     Error **errp)

{

    QObjectInputVisitor *qiv = to_qiv(v);

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

    const QListEntry *entry;



    if (list) {

        *list = NULL;

    }

    if (!qobj) {

        return;

    }

    if (qobject_type(qobj) != QTYPE_QLIST) {

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

                   "list");

        return;

    }



    entry = qobject_input_push(qiv, qobj, list);

    if (entry && list) {

        *list = g_malloc0(size);

    }

}

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",         error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",                    "list");     entry = qobject_input_push(qiv, qobj, list);         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",
static void FUNC_0(Visitor *VAR_0, const char *VAR_1,

                                     GenericList **VAR_2, size_t VAR_3,

                                     Error **VAR_4)

{

    QObjectInputVisitor *qiv = to_qiv(VAR_0);

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

    const QListEntry *VAR_5;



    if (VAR_2) {

        *VAR_2 = NULL;

    }

    if (!qobj) {

        return;

    }

    if (qobject_type(qobj) != QTYPE_QLIST) {

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

                   "VAR_2");

        return;

    }



    VAR_5 = qobject_input_push(qiv, qobj, VAR_2);

    if (VAR_5 && VAR_2) {

        *VAR_2 = g_malloc0(VAR_3);

    }

}

static void FUNC_0(Visitor *VAR_0, const char *VAR_1,
GenericList **VAR_2, size_t VAR_3,
Error **VAR_4)
{ QObjectInputVisitor *qiv = to_qiv(VAR_0); QObject *qobj = qobject_input_get_object(qiv, VAR_1, true, VAR_4); const QListEntry *VAR_5; if (VAR_2) { *VAR_2 = NULL; } if (!qobj) { return; } if (qobject_type(qobj) != QTYPE_QLIST) { error_setg(VAR_4, QERR_INVALID_PARAMETER_TYPE, VAR_1 ? VAR_1 : "null",
"VAR_2"); return; } VAR_5 = qobject_input_push(qiv, qobj, VAR_2); if (VAR_5 && VAR_2) { *VAR_2 = g_malloc0(VAR_3); } }