提交 df4986b5 编写于 作者: J Ján Tomko

Define G_DEFINE_AUTOPTR_CLEANUP_FUNC for virDomainCheckpointDef

Allow g_autoptr to be used instead of VIR_AUTOUNREF.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
上级 45678bd7
......@@ -57,6 +57,7 @@ struct _virDomainCheckpointDef {
virDomainCheckpointDiskDef *disks;
};
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virDomainCheckpointDef, virObjectUnref);
typedef enum {
VIR_DOMAIN_CHECKPOINT_PARSE_REDEFINE = 1 << 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册