2 Copyright © 2002, The AROS Development Team.
22 #include <aros/debug.h>
24 #else /* ! __AROS__ */
27 # define bug DebugPrintF
33 #define ASSERT_VALID_PTR(x)
39 # include <proto/exec.h>
40 # define D(x) do {Forbid();DebugPrintF("%s/%ld Task \"%s\" [%s()] => ", \
41 __FILE__, __LINE__, FindTask(NULL)->tc_Node.ln_Name,__PRETTY_FUNCTION__); \
42 (x);Permit();} while(0);
44 void kprintf(char *string
, ...);
45 # define D(x) {kprintf("%s/%ld (%s): ", __FILE__, __LINE__, \
46 FindTask(NULL)->tc_Node.ln_Name);(x);};
54 #endif /* ! __AROS__ */
56 #endif /* __DEBUG_H */