Add XAPIAN_VISIBILITY_INTERNAL and use it
commit8cb79ae4d5189028ed31cd8e47253bec0a050966
authorOlly Betts <olly@survex.com>
Tue, 28 Nov 2017 06:13:56 +0000 (28 19:13 +1300)
committerOlly Betts <olly@survex.com>
Tue, 28 Nov 2017 20:55:50 +0000 (29 09:55 +1300)
treee68a58e95a86a2f9ce08d6f9b2e8ac6e69b791a5
parente34f9eebcf4a89bf661d2e36f1ae2a8469c809d8
Add XAPIAN_VISIBILITY_INTERNAL and use it

Some API classes have internal methods which only get called from
within the library - e.g. a common pattern is a constructor
Foo(Foo::Internal*).  By setting visibility of such methods to
"internal" they won't get exported from the shared library, which
speeds up dynamic library loading a little.
14 files changed:
xapian-bindings/doxygen_xml.conf.in
xapian-bindings/xapian-head.i
xapian-core/docs/doxygen_api.conf.in
xapian-core/docs/doxygen_source.conf.in
xapian-core/include/xapian/database.h
xapian-core/include/xapian/document.h
xapian-core/include/xapian/positioniterator.h
xapian-core/include/xapian/postingiterator.h
xapian-core/include/xapian/postingsource.h
xapian-core/include/xapian/rset.h
xapian-core/include/xapian/termiterator.h
xapian-core/include/xapian/valueiterator.h
xapian-core/include/xapian/visibility.h
xapian-core/include/xapian/weight.h