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