For some inexplicable reason, I'd (a) left the debugging irreversibly

turned on, and (b) left a somewhat curious debugging string in the output.
This commit is contained in:
Geoff Thorpe 2001-04-27 00:31:21 +00:00
parent b41f836e5f
commit 06cb0353e5

View file

@ -66,8 +66,6 @@
extern "C" { extern "C" {
#endif #endif
#define ENGINE_REF_COUNT_DEBUG
/* If we compile with this symbol defined, then both reference counts in the /* If we compile with this symbol defined, then both reference counts in the
* ENGINE structure will be monitored with a line of output on stderr for each * ENGINE structure will be monitored with a line of output on stderr for each
* change. This prints the engine's pointer address (truncated to unsigned int), * change. This prints the engine's pointer address (truncated to unsigned int),
@ -77,7 +75,7 @@ extern "C" {
#ifdef ENGINE_REF_COUNT_DEBUG #ifdef ENGINE_REF_COUNT_DEBUG
#define engine_ref_debug(e, isfunct, diff) \ #define engine_ref_debug(e, isfunct, diff) \
fprintf(stderr, "blargle: %08x %s from %d to %d (%s:%d)\n", \ fprintf(stderr, "engine: %08x %s from %d to %d (%s:%d)\n", \
(unsigned int)(e), (isfunct ? "funct" : "struct"), \ (unsigned int)(e), (isfunct ? "funct" : "struct"), \
((isfunct) ? ((e)->funct_ref - (diff)) : ((e)->struct_ref - (diff))), \ ((isfunct) ? ((e)->funct_ref - (diff)) : ((e)->struct_ref - (diff))), \
((isfunct) ? (e)->funct_ref : (e)->struct_ref), \ ((isfunct) ? (e)->funct_ref : (e)->struct_ref), \