From febe259e912b3f2dbd4b8c9e2fc6c5912938708e Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 8 Nov 2006 20:12:57 +0000 Subject: Add lots of debugging asserts and try to clean up behavior of lists in general. Make dumping of proc data controlled by a separate debug define. --- ProcessList.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ProcessList.h') diff --git a/ProcessList.h b/ProcessList.h index ac111e30..1cd7b8bd 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -60,7 +60,7 @@ in the source distribution for its full text. -#ifdef DEBUG +#ifdef DEBUG_PROC typedef int(*vxscanf)(void*, const char*, va_list); #endif @@ -118,13 +118,13 @@ typedef struct ProcessList_ { bool highlightBaseName; bool highlightMegabytes; bool expandSystemTime; - #ifdef DEBUG + #ifdef DEBUG_PROC FILE* traceFile; #endif } ProcessList; -#ifdef DEBUG +#ifdef DEBUG_PROC #define ProcessList_read(this, buffer, format, ...) ProcessList_xread(this, (vxscanf) vsscanf, buffer, format, ## __VA_ARGS__ ) #define ProcessList_fread(this, file, format, ...) ProcessList_xread(this, (vxscanf) vfscanf, file, format, ## __VA_ARGS__ ) -- cgit v1.2.3