mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06: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:
parent
f908475f2f
commit
f60a1cdca5
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue