On Fri, Aug 21, 2026 at 12:14:16PM +0100, Mark Cave-Ayland wrote:
> This adds a class property that references a uint8_t within the object 
> instance
> and is intended to be a replacement for object_property_add_uint8_ptr().
> 
> This commit also removes the __attribute__((unused)) annotation from
> object_class_prop_ptr() which is no longer required now that the previous 
> defined
> DEFINE_OBJECT_CLASS_PROPERTY_SCALAR_METHODS() is now being used.
> 
> Signed-off-by: Mark Cave-Ayland <[email protected]>
> Reviewed-by: Marc-André Lureau <[email protected]>
> ---
>  include/qom/object.h | 18 ++++++++++++++++++
>  qom/object.c         | 23 ++++++++++++++++++++++-
>  2 files changed, 40 insertions(+), 1 deletion(-)

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 :|


Reply via email to