diff options
author | Krzesimir Nowak <krzesimir@kinvolk.io> | 2016-05-12 14:42:26 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-05-17 21:13:19 +0000 |
commit | 51e4e3b3647daf702cfcc06438163b34e6879ae3 (patch) | |
tree | 6c8bfd4a2347f1b880536cf03e91aa41c36eba31 /Makefile-libostree.am | |
parent | 441c03ba9ee86d025c7db38c05d22b8ad41d1459 (diff) | |
download | ostree-51e4e3b3647daf702cfcc06438163b34e6879ae3.tar.gz |
libostree: Add g_autoptr() support for the public types
To avoid breaking the ostree users we hide the autoptr setup behind an
OSTREE_WITH_AUTOCLEANUPS variable. The variable is set to 0 by
default, so users that want to start using them, have to define the
variable themselves to 1.
Probably after some transition period, the variable will be set 1 by
default.
This is conditional on GLib >= 2.44.0 being available. It does not
bump ostree's dependency on GLib.
Closes: #295
Approved by: cgwalters
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r-- | Makefile-libostree.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am index a619cbcf..700d372f 100644 --- a/Makefile-libostree.am +++ b/Makefile-libostree.am @@ -128,6 +128,7 @@ libostree_1_la_SOURCES = \ src/libostree/ostree-gpg-verifier.h \ src/libostree/ostree-gpg-verify-result.c \ src/libostree/ostree-gpg-verify-result-private.h \ + src/libostree/ostree-autocleanups.h \ $(NULL) if USE_LIBARCHIVE libostree_1_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \ |