glib/docs/reference/gio
Xavier Claessens dcfc9f689e Fix symbol visibility macros on Windows
There is currently no `dllimport` attribute on any of our function,
which prevents MSVC to optimize function calls.

To fix that issue, we need to redeclare all our visibility macros for
each of our libraries, because when compiling e.g. GIO code, we need
dllimport in GLIB headers and dllexport in GIO headers. That means they
cannot use the same GLIB_AVAILABLE_* macro.

Since that's a lot of boilerplate to copy/paste after each version bump,
this MR generate all those macros using a python script.

Also simplify the meson side by using `gnu_symbol_visibility : 'hidden'`
keyword argument instead of passing the cflag manually.

This leaves only API index to add manually into glib-docs.xml when
bumping GLib version. That file cannot be generated because Meson does
not allow passing a buit file to gnome.gtkdoc()'s main_xml kwarg
unfortunately.
2022-10-13 20:53:56 -04:00
..
gdbus-object-manager-example Fix symbol visibility macros on Windows 2022-10-13 20:53:56 -04:00
xml docs: Change Bugzilla references to GitLab 2018-06-15 13:04:39 +01:00
.gitignore .gitignore updates for gsettings stuff 2010-04-27 17:04:57 -04:00
concat-files-helper.py py: Various flake8 cleanups 2020-11-17 15:50:07 +00:00
gapplication.xml New gapplication(1) tool 2013-10-17 10:12:27 -04:00
gdbus-codegen.xml docs: Add --generate-rst to the gdbus-codegen docs 2022-01-22 01:30:16 +00:00
gdbus.xml gdbus: Add --interactive option to gdbus call 2021-11-11 11:26:22 +00:00
gio-docs-unix.xml doc: Split API reference per platform 2019-07-10 10:29:04 -04:00
gio-docs-win32.xml doc: Split API reference per platform 2019-07-10 10:29:04 -04:00
gio-docs.xml gversionmacros: Add version macros for GLib 2.74 2022-03-28 12:55:20 +01:00
gio-querymodules.xml docs: Improve man page consistency 2012-08-03 23:36:45 -04:00
gio-sections-common.txt GAppInfo: Add async API to get default Application for URI scheme 2022-06-22 20:07:30 +02:00
gio-sections-win32.txt doc: Split API reference per platform 2019-07-10 10:29:04 -04:00
gio.xml docs: Add --delete option to gio-tool attributes documentation 2022-08-05 22:36:06 +02:00
glib-compile-resources.xml Do not generate C resources for all possible toolchains 2022-02-14 13:09:22 +00:00
glib-compile-schemas.xml glib-compile-schemas: Add a --version option 2016-10-06 21:08:25 +01:00
gresource.xml gresource: fix documentation typo 2017-08-22 08:58:56 +01:00
gsettings.xml docs: Standardize spelling of serializ* 2021-05-07 08:51:22 -03:00
gvfs-overview.odg update the overview image of the gio docs 2009-06-08 17:29:22 +02:00
gvfs-overview.png update the overview image of the gio docs 2009-06-08 17:29:22 +02:00
menu-example.png Add GMenuModel 2011-12-08 18:05:12 -05:00
menu-model.png Add GMenuModel 2011-12-08 18:05:12 -05:00
meson.build Fix symbol visibility macros on Windows 2022-10-13 20:53:56 -04:00
migrating-gconf.xml tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
migrating-gdbus.xml docs: Fix xinclude directives 2020-10-30 16:41:07 +00:00
migrating-gnome-vfs.xml docs: Change Bugzilla references to GitLab 2018-06-15 13:04:39 +01:00
migrating-posix.xml Remove duplicate copies of migration docs 2010-05-27 13:07:54 -04:00
overview.xml gio: Remove fam file monitor support 2022-03-23 15:41:54 +00:00
version.xml.in gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00