gversionmacros.h: add GLIB_AVAILABLE_IN_ALL
authorRyan Lortie <desrt@desrt.ca>
Thu, 6 Dec 2012 18:34:55 +0000 (13:34 -0500)
committerRyan Lortie <desrt@desrt.ca>
Sun, 13 Jan 2013 18:05:09 +0000 (13:05 -0500)
Add a macro to declare that a particular symbol is available in all
versions of GLib.

All newly-added symbols should have proper version macros (like
GLIB_AVAILABLE_IN_2_36) and this macro is less likely to get used 'by
accident' for those than one with a name like GLIB_EXTERN or
GLIB_PUBLIC.

https://bugzilla.gnome.org/show_bug.cgi?id=688681

glib/gversionmacros.h

index 9b5cfd0..21dd754 100644 (file)
  * do *not* use them in other projects. Instead, use G_DEPRECATED
  * or define your own wrappers around it.
  */
+#define GLIB_AVAILABLE_IN_ALL
 
 /* XXX: Every new stable minor release should add a set of macros here */