mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
object: add g_autoptr support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -1766,4 +1766,7 @@ Object *container_get(Object *root, const char *path);
|
||||
* Returns the instance_size of the given @typename.
|
||||
*/
|
||||
size_t object_type_get_instance_size(const char *typename);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(Object, object_unref)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user