Re: [PATCH 3/5] qom/object.c: introduce DEFINE_OBJECT_PROPERTY_SCALAR_METHODS() macro
Daniel P. Berrangé <[email protected]>
| Newsgroups | org.nongnu.qemu-riscv,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 17, 2026 at 12:19:10PM +0100, Mark Cave-Ayland wrote: > This macro defines both the QOM get and set functions for the given scaler > type. Replace the combined use of OBJECT_PROPERTY_SCALAR_GETTER() and > OBJECT_PROPERTY_SCALAR_SETTER() with the new macro. > > Signed-off-by: Mark Cave-Ayland <[email protected]> > --- > qom/object.c | 19 +++++++++++-------- > 1 file changed, 11 insertions(+), 8 deletions(-) Reviewed-by: Daniel P. Berrangé <[email protected]> With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|