mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
add function for logging location reached when debugging
This commit is contained in:
parent
8c9cfc358a
commit
e01f8db17e
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ typedef struct CommonPrefs {
|
|||
#define LOG_FUNC() XP_LOGF( "IN: %s", __func__ )
|
||||
#define LOG_RETURNF(fmt, ...) XP_LOGF( "%s => " fmt, __func__, __VA_ARGS__ )
|
||||
#define LOG_RETURN_VOID() LOG_RETURNF("%s","void")
|
||||
#define XP_LOGLOC() XP_LOGF( "%s(), line %d", __func__, __LINE__ )
|
||||
|
||||
#ifndef XP_UNUSED
|
||||
# if defined __GNUC__
|
||||
|
|
Loading…
Reference in a new issue