[glib] gversionmacros.h: add GLIB_AVAILABLE_IN_ALL



commit 0a2b58625998680568623e69fd7fcedfd33d04da
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Dec 6 13:34:55 2012 -0500

    gversionmacros.h: add GLIB_AVAILABLE_IN_ALL
    
    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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/gversionmacros.h b/glib/gversionmacros.h
index 9b5cfd0..21dd754 100644
--- a/glib/gversionmacros.h
+++ b/glib/gversionmacros.h
@@ -184,6 +184,7 @@
  * 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 */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]