libvirt/build-aux
Daniel P. Berrangé 44e7f02915 util: rewrite auto cleanup macros to use glib's equivalent
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>
2019-10-14 10:54:42 +01:00
..
augeas-gentest.pl build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
check-spacing.pl Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
header-ifdef.pl syntax check: update header guard check 2019-06-20 09:01:07 +02:00
minimize-po.pl po: minimize & canonicalize translations stored in git 2018-04-19 11:11:08 +01:00
mock-noinline.pl tests: fix mocking of stat() / lstat() functions 2019-04-03 11:31:38 +01:00
prohibit-duplicate-header.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
syntax-check.mk util: rewrite auto cleanup macros to use glib's equivalent 2019-10-14 10:54:42 +01:00
useless-if-before-free build: import gnulib's syntax-check make rules 2019-10-09 13:36:29 +01:00
vc-list-files build: import gnulib's syntax-check make rules 2019-10-09 13:36:29 +01:00