summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2006-11-08 20:12:57 +0000
committerHisham Muhammad <hisham@gobolinux.org>2006-11-08 20:12:57 +0000
commitfebe259e912b3f2dbd4b8c9e2fc6c5912938708e (patch)
treeb207c3b265d67c715ce1ffc4082f78096c57e390 /ProcessList.h
parent110ce71b9b086d3c090a33ed8e3b1c6e8a3d00d9 (diff)
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.
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h6
1 files changed, 3 insertions, 3 deletions
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__ )

© 2014-2024 Faster IT GmbH | imprint | privacy policy