[glib/wip/visibility2: 1/7] gversionmacros.h: add GLIB_AVAILABLE_IN_ALL
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/visibility2: 1/7] gversionmacros.h: add GLIB_AVAILABLE_IN_ALL
- Date: Thu, 6 Dec 2012 21:39:58 +0000 (UTC)
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]