Files
glib/gmodule
Colin Walters b390e41325 buildsystem: Prepare _G*_API internal macros for symbol visibility
To switch GLib to have private-by-default symbols, we need to have a
macro which expands to G_PUBLIC_API only when compiling a particular
"sublibrary" in GLib (e.g. gmodule, gio).

This patch implements that with a two-level scheme.  First, each
sublibrary has its own preprocessor macro e.g. _GTHREAD_API.  Then,
the Makefiles are modified to define this to G_PUBLIC_API only when
building that library - so when building libgthread, _GMODULE_API is
left undefined.

Now, we could simply add _G*_API to every entry point, but because
we've already been annotating all the headers with
GLIB_AVAILABLE_IN_XX, let's modify those macros to automatically
depend on a new "_G_API".  Then the Makefiles further define _G_API to
the target such as _GTHREAD_API.  This indirection avoids a
(glib version)*(sublibrary) explosion of preprocessor definitions in
gversionmacros.h.

https://bugzilla.gnome.org/show_bug.cgi?id=688681
2012-11-30 12:14:34 -05:00
..
2010-01-28 22:43:51 -05:00
1998-08-09 08:32:18 +00:00
2009-03-31 19:39:16 -04:00
1998-08-09 08:32:18 +00:00
2012-07-13 17:37:37 -04:00
2008-07-27 17:35:46 +00:00
2008-08-01 14:17:43 +00:00