add function for logging location reached when debugging

This commit is contained in:
ehouse 2008-10-09 12:04:57 +00:00
parent 8c9cfc358a
commit e01f8db17e

View file

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