Progress Pile   version 0.0.1
Progress pile.
progress-private.h
Go to the documentation of this file.
1 
10 #ifndef GUARD_PROGRESS_PRIVATE_H_INCLUDE
11 #define GUARD_PROGRESS_PRIVATE_H_INCLUDE
12 
13 #include <progress/progress-config.h>
14 
15 #if 0
16 # define PROGRESS_DEBUGM printf
17 #else
18 # define PROGRESS_DEBUGM black_hole
19 #endif
20 
21 #if 0
22 # define PROGRESS_TRACE_ENTRY printf("PROGRESS ENTRY %s in %s[%d]\n", __func__, __FILE__, __LINE__)
23 #else
24 # define PROGRESS_TRACE_ENTRY
25 #endif
26 
27 #if 0
28 # define PROGRESS_TRACE_EXIT printf("PROGRESS EXIT %s in %s[%d]\n", __func__, __FILE__, __LINE__)
29 #else
30 # define PROGRESS_TRACE_EXIT
31 #endif
32 
33 
34 static inline void black_hole (...)
35 {}
36 
37 #endif // GUARD_PROGRESS_PRIVATE_H_INCLUDE