提交 d8e1d396 编写于 作者: J Jiri Denemark

conf: Define g_autoptr cleanup function for virCPUDef

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 ac89b054
...@@ -151,6 +151,7 @@ virCPUDefFreeModel(virCPUDefPtr def); ...@@ -151,6 +151,7 @@ virCPUDefFreeModel(virCPUDefPtr def);
void void
virCPUDefFree(virCPUDefPtr def); virCPUDefFree(virCPUDefPtr def);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virCPUDef, virCPUDefFree);
int ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) int ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
virCPUDefCopyModel(virCPUDefPtr dst, virCPUDefCopyModel(virCPUDefPtr dst,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册