mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
d559ba1af2
commit
a6fd08eb62
4 changed files with 140 additions and 1 deletions
|
@ -40,6 +40,7 @@ typedef enum {
|
|||
QTYPE_QINT,
|
||||
QTYPE_QSTRING,
|
||||
QTYPE_QDICT,
|
||||
QTYPE_QLIST,
|
||||
} qtype_code;
|
||||
|
||||
struct QObject;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue