mirror of https://gitee.com/openkylin/libvirt.git
Define G_DEFINE_AUTOPTR_CLEANUP_FUNC for virDomainCheckpointDef
Allow g_autoptr to be used instead of VIR_AUTOUNREF. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
45678bd70a
commit
df4986b51b
|
@ -57,6 +57,7 @@ struct _virDomainCheckpointDef {
|
|||
virDomainCheckpointDiskDef *disks;
|
||||
};
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virDomainCheckpointDef, virObjectUnref);
|
||||
|
||||
typedef enum {
|
||||
VIR_DOMAIN_CHECKPOINT_PARSE_REDEFINE = 1 << 0,
|
||||
|
|
Loading…
Reference in New Issue