PerSt Pile   version 0.0.1
Persistent storage pile used for storing key/value pairs
perst-private.h
Go to the documentation of this file.
1 
10 #ifndef GUARD_PERST_PRIVATE_H_INCLUDE
11 #define GUARD_PERST_PRIVATE_H_INCLUDE
12 
13 #include <perst/perst-config.h>
14 
15 #if 0
16 # define PERST_DEBUGM printf
17 #else
18 # define PERST_DEBUGM black_hole
19 #endif
20 
21 #if 0
22 # define PERST_TRACE_ENTRY printf("PERST ENTRY %s in %s[%d]\n", __func__, __FILE__, __LINE__)
23 #else
24 # define PERST_TRACE_ENTRY
25 #endif
26 
27 #if 0
28 # define PERST_TRACE_EXIT printf("PERST EXIT %s in %s[%d]\n", __func__, __FILE__, __LINE__)
29 #else
30 # define PERST_TRACE_EXIT
31 #endif
32 
33 
34 static inline void black_hole (...)
35 {}
36 
37 #endif // GUARD_PERST_PRIVATE_H_INCLUDE