Commit 06cb0353 authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

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

turned on, and (b) left a somewhat curious debugging string in the output.
parent b41f836e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -66,8 +66,6 @@
extern "C" {
#endif

#define ENGINE_REF_COUNT_DEBUG

/* 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
 * change. This prints the engine's pointer address (truncated to unsigned int),
@@ -77,7 +75,7 @@ extern "C" {
#ifdef ENGINE_REF_COUNT_DEBUG

#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"), \
		((isfunct) ? ((e)->funct_ref - (diff)) : ((e)->struct_ref - (diff))), \
		((isfunct) ? (e)->funct_ref : (e)->struct_ref), \