xemu/include/qom
Marc-André Lureau 0e76ed0a5d object: add object_property_set_default
Add a default value to ObjectProperty and an implementation of
ObjectPropertyInit that uses it.  This will make it easier to show the
default in help messages.

Also provide convenience functions object_property_set_default_{bool,
str, int, uint}().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200110153039.1379601-11-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-24 20:59:13 +01:00
..
object_interfaces.h vl: Split off user_creatable_print_help() 2019-10-14 17:12:48 +02:00
object.h object: add object_property_set_default 2020-01-24 20:59:13 +01:00
qom-qobject.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00