diff options
author | Gerd Hoffmann | 2009-08-03 17:35:17 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-08-10 20:05:48 +0200 |
commit | cf12b95bf5a2f30b37c4b91011fb6a9ab70c920d (patch) | |
tree | ce27df4da953e74884a6d87becd3ba38a9d0aecd /hw/qdev-properties.c | |
parent | make windows notice media change (diff) | |
download | qemu-cf12b95bf5a2f30b37c4b91011fb6a9ab70c920d.tar.gz qemu-cf12b95bf5a2f30b37c4b91011fb6a9ab70c920d.tar.xz qemu-cf12b95bf5a2f30b37c4b91011fb6a9ab70c920d.zip |
qdev/prop: macros for creating typechecked properties.
There are DEFINE_PROP_$TYPE("name", struct, field, default) macros for
each property type. These macros link the qdev_prop_$name struct to the
type used by that property. typeof(struct->field) is verifyed to be the
correct one for the given property.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Diffstat (limited to 'hw/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions