mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Replace occurrances of G_GNUC_PRETTY_FUNCTION by G_STRFUNC. (#524344,
2008-03-30 Matthias Clasen <mclasen@redhat.com> * glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION by G_STRFUNC. (#524344, Peter, Kjellerstedt) svn path=/trunk/; revision=6775
This commit is contained in:
parent
a4a5f33f47
commit
b9cc70aaa8
@ -1,3 +1,8 @@
|
||||
2008-03-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
|
||||
by G_STRFUNC. (#524344, Peter, Kjellerstedt)
|
||||
|
||||
2008-03-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gtestutils.c: Fix a doc typo. (#524742, Hiroyuki Ikezoe)
|
||||
|
@ -370,21 +370,21 @@ extern void glib_dummy_decl (void);
|
||||
# define G_LOCK(name) G_STMT_START{ \
|
||||
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
||||
"file %s: line %d (%s): locking: %s ", \
|
||||
__FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \
|
||||
__FILE__, __LINE__, G_STRFUNC, \
|
||||
#name); \
|
||||
g_static_mutex_lock (&G_LOCK_NAME (name)); \
|
||||
}G_STMT_END
|
||||
# define G_UNLOCK(name) G_STMT_START{ \
|
||||
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
||||
"file %s: line %d (%s): unlocking: %s ", \
|
||||
__FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \
|
||||
__FILE__, __LINE__, G_STRFUNC, \
|
||||
#name); \
|
||||
g_static_mutex_unlock (&G_LOCK_NAME (name)); \
|
||||
}G_STMT_END
|
||||
# define G_TRYLOCK(name) \
|
||||
(g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \
|
||||
"file %s: line %d (%s): try locking: %s ", \
|
||||
__FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \
|
||||
__FILE__, __LINE__, G_STRFUNC, \
|
||||
#name), g_static_mutex_trylock (&G_LOCK_NAME (name)))
|
||||
# else /* !G_DEBUG_LOCKS */
|
||||
# define G_LOCK(name) g_static_mutex_lock (&G_LOCK_NAME (name))
|
||||
|
Loading…
Reference in New Issue
Block a user