/* NOTE: ownership of 'value' is transferred to the QList  */
void qlist_append_obj(QList *qlist, QObject *value)
/* NOTE: ownership of 'value' is transferred to the QList  */
void qlist_append_obj(QList *qlist, QObject *value)
{
    QListEntry *entry;
    entry = g_malloc(sizeof(*entry));
    entry->value = value;
    QTAILQ_INSERT_TAIL(&qlist->head, entry, next);
}