atk/atkversion.h.in: Add Version/Deprecation Macros
commit122236e1a716274b787eb081def57fe0ca3570b1
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 24 Apr 2014 10:39:46 +0000 (24 18:39 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 25 Apr 2014 00:26:50 +0000 (25 08:26 +0800)
tree114ce14fac7e740dcab5a28328a50e6c2ce1fa4f
parent76be0669e9b4000d8a3f1e8bd78d8f89883ba112
atk/atkversion.h.in: Add Version/Deprecation Macros

This adds version macros, like what is now done in GLib, GTK+ and Clutter,
so that these macros can be used in public headers to:

-Prepare for using a visibility-based (or __declspec(dllexport)method to
 export the public APIs during the build.  These macros are marked for 2.x
 stable releases as ATK_AVAILABLE_IN_X_Y, and ATK_AVAILABLE_IN_ALL for APIs
 introduced on or before the ATK-2.0.0 release.

-Add ATK_DEPRECATED_IN_X_Y macros for use on APIs that are deprecated
 in 2.x, and ATK_DEPRECATED for those deprecated earlier.  This
 is also used to export the deprecated APIs using the visibility-based/
 __declspec(dllexport) method.

https://bugzilla.gnome.org/show_bug.cgi?id=728031
atk/atkversion.h.in