From e01f8db17e86bdf136ed7727faa8b1c851b08c43 Mon Sep 17 00:00:00 2001 From: ehouse Date: Thu, 9 Oct 2008 12:04:57 +0000 Subject: [PATCH] add function for logging location reached when debugging --- common/comtypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/common/comtypes.h b/common/comtypes.h index 1a2854727..0f8727958 100644 --- a/common/comtypes.h +++ b/common/comtypes.h @@ -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__