static void qdict_destroy_obj(QObject *obj)

{

    int i;

    QDict *qdict;



    assert(obj != NULL);

    qdict = qobject_to_qdict(obj);



    for (i = 0; i < QDICT_BUCKET_MAX; i++) {

        QDictEntry *entry = QLIST_FIRST(&qdict->table[i]);

        while (entry) {

            QDictEntry *tmp = QLIST_NEXT(entry, next);

            QLIST_REMOVE(entry, next);

            qentry_destroy(entry);

            entry = tmp;

        }

    }



    g_free(qdict);

}

static void qdict_destroy_obj(QObject *obj)

{

    int i;

    QDict *qdict;



    assert(obj != NULL);

    qdict = qobject_to_qdict(obj);



    for (i = 0; i < QDICT_BUCKET_MAX; i++) {

        QDictEntry *entry = QLIST_FIRST(&qdict->table[i]);

        while (entry) {

            QDictEntry *tmp = QLIST_NEXT(entry, next);

            QLIST_REMOVE(entry, next);

            qentry_destroy(entry);

            entry = tmp;

        }

    }



    g_free(qdict);

}

static void FUNC_0(QObject *VAR_0)

{

    int VAR_1;

    QDict *qdict;



    assert(VAR_0 != NULL);

    qdict = qobject_to_qdict(VAR_0);



    for (VAR_1 = 0; VAR_1 < QDICT_BUCKET_MAX; VAR_1++) {

        QDictEntry *entry = QLIST_FIRST(&qdict->table[VAR_1]);

        while (entry) {

            QDictEntry *tmp = QLIST_NEXT(entry, next);

            QLIST_REMOVE(entry, next);

            qentry_destroy(entry);

            entry = tmp;

        }

    }



    g_free(qdict);

}

static void FUNC_0(QObject *VAR_0)
{ int VAR_1; QDict *qdict; assert(VAR_0 != NULL); qdict = qobject_to_qdict(VAR_0); for (VAR_1 = 0; VAR_1 < QDICT_BUCKET_MAX; VAR_1++) { QDictEntry *entry = QLIST_FIRST(&qdict->table[VAR_1]); while (entry) { QDictEntry *tmp = QLIST_NEXT(entry, next); QLIST_REMOVE(entry, next); qentry_destroy(entry); entry = tmp; } } g_free(qdict); }