GNOME Bugzilla – Bug 720203
Need to add extra macros to define when methods became available, and mark all public methods to be exported
Last modified: 2014-04-12 00:32:00 UTC
Recently GLib modules started to do this. Rationale and original bug here: https://bugzilla.gnome.org/show_bug.cgi?id=688681 This would allow, among other things, to get rid of the (currently outdated) atk.symbols file.
This would also help in only exporting public symbols. e.g. 2.12 introduced: _compact_name _gettext_initialization which are exported in the DSO. Another option would be to use libtool's -export-symbols-regex.
(In reply to comment #1) > This would also help in only exporting public symbols. e.g. 2.12 introduced: > > _compact_name > _gettext_initialization > > which are exported in the DSO. True. Thanks for pointing it. > Another option would be to use libtool's -export-symbols-regex. Yes, probably, but I prefer to use those macros, to be more aligned to what glib and gtk+ does.
Hi, Sorry Piñeiro, I didn't realize this bug was opened before I opened 728031 last night :) As bug 728031 contains ongoing work to use the macros (visibility-based/__declspec (dllexport) method) to export symbols from ATK, I think we might want to direct the work to there. With blessings, thank you! *** This bug has been marked as a duplicate of bug 728031 ***