mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-29 13:23:31 +02:00
Deprecate G_GNUC_(PRETTY)_FUNCTION.
2008-01-27 Matthias Clasen <mclasen@redhat.com> * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION. svn path=/trunk/; revision=6389
This commit is contained in:
committed by
Matthias Clasen
parent
69c903e5b2
commit
7bfc60de2e
@@ -1,3 +1,9 @@
|
||||
2008-01-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gthread-posix.c:
|
||||
* gthread-win32.c: Replace uses of G_GNUC_PRETTY_FUNCTION
|
||||
by __FUNCTION__.
|
||||
|
||||
2008-01-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.15.3 ===
|
||||
|
@@ -51,7 +51,7 @@
|
||||
int error = (err); \
|
||||
if (error) \
|
||||
g_error ("file %s: line %d (%s): error '%s' during '%s'", \
|
||||
__FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \
|
||||
__FILE__, __LINE__, __FUNCTION__, \
|
||||
g_strerror (error), name); \
|
||||
}G_STMT_END
|
||||
|
||||
|
@@ -48,7 +48,7 @@
|
||||
#define win32_check_for_error(what) G_STMT_START{ \
|
||||
if (!(what)) \
|
||||
g_error ("file %s: line %d (%s): error %s during %s", \
|
||||
__FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \
|
||||
__FILE__, __LINE__, __FUNCTION__, \
|
||||
g_win32_error_message (GetLastError ()), #what); \
|
||||
}G_STMT_END
|
||||
|
||||
|
Reference in New Issue
Block a user