use varargs for LOG_RETURNF macro

This commit is contained in:
ehouse 2007-01-27 15:04:57 +00:00
parent 1890fcac6b
commit 1486c764fb

View file

@ -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