translate Pile   version 0.0.1
This pile provides support for an application that
translate-private.h
Go to the documentation of this file.
1 
10 #ifndef GUARD_TRANSLATE_PRIVATE_H_INCLUDE
11 #define GUARD_TRANSLATE_PRIVATE_H_INCLUDE
12 
13 #include <translate/translate-config.h>
14 
15 #if 1
16 # define TRANSLATE_DEBUGM printf
17 #else
18 # define TRANSLATE_DEBUGM black_hole
19 #endif
20 
21 #if 0
22 # define TRANSLATE_TRACE_ENTRY printf("TRANSLATE ENTRY %s in %s[%d]\n", __func__, __FILE__, __LINE__)
23 #else
24 # define TRANSLATE_TRACE_ENTRY
25 #endif
26 
27 #if 0
28 # define TRANSLATE_TRACE_EXIT printf("TRANSLATE EXIT %s in %s[%d]\n", __func__, __FILE__, __LINE__)
29 #else
30 # define TRANSLATE_TRACE_EXIT
31 #endif
32 
33 #ifndef TMP_A
34 # define TMP_A(__s__) __s__.toLatin1 ().constData ()
35 #endif
36 
37 static inline void black_hole (...)
38 {}
39 
40 #endif // GUARD_TRANSLATE_PRIVATE_H_INCLUDE