mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-29 12:01:16 +00:00
qemu_domain.h: add G_DEFINE_AUTOPTR_CLEANUP_FUNC for qemuDomainLogContext
This will allow us to g_autoptr qemuDomainLogContext pointers in the following patch. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
982ea95142
commit
906d653297
@ -586,6 +586,7 @@ void qemuProcessEventFree(struct qemuProcessEvent *event);
|
||||
|
||||
typedef struct _qemuDomainLogContext qemuDomainLogContext;
|
||||
typedef qemuDomainLogContext *qemuDomainLogContextPtr;
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(qemuDomainLogContext, virObjectUnref);
|
||||
|
||||
typedef struct _qemuDomainSaveCookie qemuDomainSaveCookie;
|
||||
typedef qemuDomainSaveCookie *qemuDomainSaveCookiePtr;
|
||||
|
Loading…
Reference in New Issue
Block a user