diff options
author | 2009-10-07 13:41:48 -0300 | |
---|---|---|
committer | 2009-10-08 21:17:18 -0500 | |
commit | a6fd08eb625ae3c6a878f527270a9d384d1b04d2 (patch) | |
tree | a303e22cb3a27f584637acb7e7f33ddf66f7ac30 /qobject.h | |
parent | QObject: Accept NULL (diff) | |
download | qemu-kvm-a6fd08eb625ae3c6a878f527270a9d384d1b04d2.tar.gz qemu-kvm-a6fd08eb625ae3c6a878f527270a9d384d1b04d2.tar.bz2 qemu-kvm-a6fd08eb625ae3c6a878f527270a9d384d1b04d2.zip |
Introduce QList
QList is a high-level data type that can be used to store QObjects
in a singly-linked list.
The following functions are available:
- qlist_new() Create a new QList
- qlist_append() Append a QObject to the list
- qlist_iter() Iterate over stored QObjects
Patchworks-ID: 35334
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qobject.h')
-rw-r--r-- | qobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ typedef enum { QTYPE_QINT, QTYPE_QSTRING, QTYPE_QDICT, + QTYPE_QLIST, } qtype_code; struct QObject; |