CLISH  0.7.3
c_decl.h
1 /*
2  * c_decl.h
3  *
4  * a simple set of macros to ease declaration of C interfaces.
5  */
35 #ifndef _lub_c_decl_h
36 #define _lub_c_decl_h
37 
38 #ifdef __cplusplus
39 #define _BEGIN_C_DECL extern "C" {
40 #define _END_C_DECL }
41 #else /* not __cplusplus */
42 #define _BEGIN_C_DECL
43 #define _END_C_DECL
44 #endif /* not __cplusplus */
45 
47 #endif /* _lub_c_decl_h */