[glib/wip/visibility2: 1/7] gversionmacros.h: add GLIB_AVAILABLE_IN_ALL



commit 1488f4f021b33df46bfcff293fea528aa7e8d65f
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 04718ce..4529153 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]