summary refs log tree commit diff stats
path: root/hw/ide
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-01-21 19:15:38 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-26 15:42:01 -0600
commit59eb1c85cd5f416e8f8743db27d0c98c15b64d18 (patch)
treec4218e1ce964f9ae24e069275155433c02c733a3 /hw/ide
parent0a7fc983ceb21ee45a9ad4dbc9163394f8aa0fb6 (diff)
downloadfocaccia-qemu-59eb1c85cd5f416e8f8743db27d0c98c15b64d18.tar.gz
focaccia-qemu-59eb1c85cd5f416e8f8743db27d0c98c15b64d18.zip
QList: Introduce QLIST_FOREACH_ENTRY()
Iterate over QList entries, it's needed to call qlist_entry_obj()
to retrieve the stored QObject.

I'm not sure if it's ok to have this, because it's not as easy as
qlist_iter() and the QListEntry data type is now exposed to the
users, which means we have one more struct to be maintained when
we have libqmp.

Adding anyway, as it's more compact and people are asking for it.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide')
0 files changed, 0 insertions, 0 deletions