mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Add G_GNUC_DEPRECATED. (Tom Tromey, #87969)
Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com> * glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey, #87969)
This commit is contained in:
parent
1a5e888b63
commit
7d20e0c33e
@ -1,3 +1,8 @@
|
||||
Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
|
||||
#87969)
|
||||
|
||||
2002-11-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* config.h.win32.in: Update to match what is currently produced by
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
|
||||
#87969)
|
||||
|
||||
2002-11-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* config.h.win32.in: Update to match what is currently produced by
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
|
||||
#87969)
|
||||
|
||||
2002-11-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* config.h.win32.in: Update to match what is currently produced by
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
|
||||
#87969)
|
||||
|
||||
2002-11-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* config.h.win32.in: Update to match what is currently produced by
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
|
||||
#87969)
|
||||
|
||||
2002-11-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* config.h.win32.in: Update to match what is currently produced by
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
|
||||
#87969)
|
||||
|
||||
2002-11-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* config.h.win32.in: Update to match what is currently produced by
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Nov 21 14:09:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey,
|
||||
#87969)
|
||||
|
||||
2002-11-21 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* config.h.win32.in: Update to match what is currently produced by
|
||||
|
@ -79,6 +79,20 @@
|
||||
#define G_GNUC_NO_INSTRUMENT
|
||||
#endif /* !__GNUC__ */
|
||||
|
||||
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
|
||||
#define G_GNUC_DEPRECATED \
|
||||
__attribute__((__deprecated__))
|
||||
#else
|
||||
#define G_GNUC_DEPRECATED
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
|
||||
#define G_HIDDEN_SYMBOL
|
||||
__attribute__((__visibility__("hidden")))
|
||||
#else
|
||||
#define G_HIDDEN_SYMBOL
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
/* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with
|
||||
* macros, so we can refer to them as strings unconditionally.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user