removed braces around inline strings for the G_GNUC_FUNCTION and

Sat Apr 10 19:30:50 1999  Tim Janik  <timj@gtk.org>

        * glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
        and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
        time string concatenation.
This commit is contained in:
Tim Janik 1999-04-10 18:55:08 +00:00 committed by Tim Janik
parent e82ccff689
commit 1fa161fbb8
10 changed files with 56 additions and 8 deletions

View File

@ -1,3 +1,9 @@
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads

View File

@ -1,3 +1,9 @@
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads

View File

@ -1,3 +1,9 @@
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads

View File

@ -1,3 +1,9 @@
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads

View File

@ -1,3 +1,9 @@
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads

View File

@ -1,3 +1,9 @@
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads

View File

@ -1,3 +1,9 @@
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads

View File

@ -1,3 +1,9 @@
Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
* glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
time string concatenation.
Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
* gmain.c (g_main_iterate): Check for two threads

8
glib.h
View File

@ -262,11 +262,11 @@ extern "C" {
* macros, so we can refer to them as strings unconditionally.
*/
#ifdef __GNUC__
#define G_GNUC_FUNCTION (__FUNCTION__)
#define G_GNUC_PRETTY_FUNCTION (__PRETTY_FUNCTION__)
#define G_GNUC_FUNCTION __FUNCTION__
#define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__
#else /* !__GNUC__ */
#define G_GNUC_FUNCTION ("")
#define G_GNUC_PRETTY_FUNCTION ("")
#define G_GNUC_FUNCTION ""
#define G_GNUC_PRETTY_FUNCTION ""
#endif /* !__GNUC__ */
/* we try to provide a usefull equivalent for ATEXIT if it is

View File

@ -262,11 +262,11 @@ extern "C" {
* macros, so we can refer to them as strings unconditionally.
*/
#ifdef __GNUC__
#define G_GNUC_FUNCTION (__FUNCTION__)
#define G_GNUC_PRETTY_FUNCTION (__PRETTY_FUNCTION__)
#define G_GNUC_FUNCTION __FUNCTION__
#define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__
#else /* !__GNUC__ */
#define G_GNUC_FUNCTION ("")
#define G_GNUC_PRETTY_FUNCTION ("")
#define G_GNUC_FUNCTION ""
#define G_GNUC_PRETTY_FUNCTION ""
#endif /* !__GNUC__ */
/* we try to provide a usefull equivalent for ATEXIT if it is