mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
use varargs for LOG_RETURNF macro
This commit is contained in:
parent
1890fcac6b
commit
1486c764fb
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ typedef struct CommonPrefs {
|
|||
#endif
|
||||
|
||||
#define LOG_FUNC() XP_LOGF( "IN: %s", __FUNCTION__ )
|
||||
#define LOG_RETURNF(fmt,val) XP_LOGF( "%s => " fmt, __FUNCTION__, val )
|
||||
#define LOG_RETURNF(fmt, ...) XP_LOGF( "%s => " fmt, __func__, __VA_ARGS__ )
|
||||
#define LOG_RETURN_VOID() LOG_RETURNF("%s","void")
|
||||
|
||||
#ifndef XP_UNUSED
|
||||
|
|
Loading…
Reference in a new issue