diff options
author | Eduardo Habkost | 2020-12-11 23:05:13 +0100 |
---|---|---|
committer | Eduardo Habkost | 2020-12-18 21:20:17 +0100 |
commit | 45efa07f0f0cc8b3a6514c9743d29d73693aa8b1 (patch) | |
tree | 849fd2e5ab270c922e911c9986ae2c82ab869497 /po | |
parent | qdev: Move softmmu properties to qdev-properties-system.h (diff) | |
download | qemu-45efa07f0f0cc8b3a6514c9743d29d73693aa8b1.tar.gz qemu-45efa07f0f0cc8b3a6514c9743d29d73693aa8b1.tar.xz qemu-45efa07f0f0cc8b3a6514c9743d29d73693aa8b1.zip |
qdev: Reuse DEFINE_PROP in all DEFINE_PROP_* macros
Instead of duplicating the code that sets name, info, offset,
and does type checking, make DEFINE_PROP accept a variable number
of arguments and reuse it in all DEFINE_PROP_* macros.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-17-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions