diff options
author | Colin Walters <walters@verbum.org> | 2016-05-12 10:32:17 -0400 |
---|---|---|
committer | Colin Walters (automation) <walters+githubbot@verbum.org> | 2016-05-12 17:15:50 +0000 |
commit | a5f703799f8da2b20eba949d2d053d4b307490c9 (patch) | |
tree | 77d25bcc07772bd0ba034e56eeaee815856f1db1 /Makefile-libostree-defines.am | |
parent | f98b8bd0d7e4f98951e8d460c1f1b30538da697f (diff) | |
download | ostree-a5f703799f8da2b20eba949d2d053d4b307490c9.tar.gz |
Make enum generation private by default, export stub symbol
When we added enum type generation, the generated symbols used
the `ostree_` prefix, and at the time that implied they were public.
So we started (if built with libsoup) exporting
`ostree_fetcher_config_flags_get_type`.
I think it's not worth confusing ABI checkers, so let's export the
dummy symbol forever, and switch enums to be private by default.
We should revisit this and also export some auto-generated enum
types for public enums, but that's a separate patch.
Closes: #296
Approved by: gatispaeglis
Diffstat (limited to 'Makefile-libostree-defines.am')
-rw-r--r-- | Makefile-libostree-defines.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile-libostree-defines.am b/Makefile-libostree-defines.am index f623900c..1db75e0c 100644 --- a/Makefile-libostree-defines.am +++ b/Makefile-libostree-defines.am @@ -22,6 +22,7 @@ libostree_public_headers = \ src/libostree/ostree.h \ src/libostree/ostree-async-progress.h \ src/libostree/ostree-core.h \ + src/libostree/ostree-dummy-enumtypes.h \ src/libostree/ostree-mutable-tree.h \ src/libostree/ostree-repo.h \ src/libostree/ostree-types.h \ |