mirror of https://gitee.com/openkylin/libvirt.git
44e7f02915
To facilitate porting over to glib, this rewrites the auto cleanup macros to use glib's equivalent. As a result it is now possible to use g_autoptr/VIR_AUTOPTR, and g_auto/VIR_AUTOCLEAN, g_autofree/VIR_AUTOFREE interchangably, regardless of which macros were used to declare the cleanup types. Within the scope of any single method, code must remain consistent using either GLib or Libvirt macros, never mixing both. New code must preferentially use the GLib macros, and old code will be converted incrementally. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> |
||
---|---|---|
.. | ||
augeas-gentest.pl | ||
check-spacing.pl | ||
header-ifdef.pl | ||
minimize-po.pl | ||
mock-noinline.pl | ||
prohibit-duplicate-header.pl | ||
syntax-check.mk | ||
useless-if-before-free | ||
vc-list-files |