projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76175ab
)
Add a 'these are private' note for the version macros
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 27 Feb 2012 05:32:13 +0000
(
00:32
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 27 Feb 2012 05:32:13 +0000
(
00:32
-0500)
glib/gversionmacros.h
patch
|
blob
|
history
diff --git
a/glib/gversionmacros.h
b/glib/gversionmacros.h
index
2d42497
..
95b0e7f
100644
(file)
--- a/
glib/gversionmacros.h
+++ b/
glib/gversionmacros.h
@@
-145,6
+145,12
@@
#error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
#endif
+/* These macros are used to mark deprecated functions in GLib headers,
+ * and thus have to be exposed in installed headers. But please
+ * do *not* use them in other projects. Instead, use G_DEPRECATED
+ * or define your own wrappers around it.
+ */
+
/* XXX: Every new stable minor release should add a set of macros here */
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_26