limal
config.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | |
3 | _ _ _ _ __ _ |
4 | | | | | | \_/ | / \ | | |
5 | | | | | | |_| | / /\ \ | | |
6 | | |__ | | | | | | / ____ \ | |__ |
7 | |____||_| |_| |_|/ / \ \|____| |
8 | |
9 | core library |
10 | |
11 | (C) SUSE Linux Products GmbH |
12 \----------------------------------------------------------------------/
13 
14  File: config.h
15 
16  Author: Marius Tomaschewski
17  Maintainer: Marius Tomaschewski
18 
19 /-*/
38 #ifndef LIMAL_CONFIG_H
39 #define LIMAL_CONFIG_H 1
40 
41 #include <blocxx/BLOCXX_config.h>
42 
43 
47 #ifndef LIMAL_LIB_VERSION
48 #define LIMAL_LIB_VERSION "1.5.0"
49 #endif
50 
51 
55 #ifndef LIMAL_API_VERSION
56 #define LIMAL_API_VERSION 1
57 #endif
58 
59 
63 #ifndef LIMAL_DEFINE_NAMESPACE_CAT
64 #define LIMAL_DEFINE_NAMESPACE_CAT(name,ver) name ## ver
65 #endif
66 #ifndef LIMAL_DEFINE_NAMESPACE
67 #define LIMAL_DEFINE_NAMESPACE(name,ver) LIMAL_DEFINE_NAMESPACE_CAT(name,ver)
68 #endif
69 
70 
71 /*
72  * Definition of the main LiMaL namespace
73  * with appended API version number.
74  */
75 #ifndef LIMAL_NAMESPACE
76 #define LIMAL_NAMESPACE \
77  LIMAL_DEFINE_NAMESPACE(limal, LIMAL_API_VERSION)
78 #endif /* LIMAL_NAMESPACE */
79 
80 
113 #ifdef __cplusplus
114 namespace LIMAL_NAMESPACE
115 {
116 }
117 #ifndef DOXYGEN_SKIP
118 namespace limal = LIMAL_NAMESPACE;
119 #endif
120 #endif /* __cplusplus */
121 
122 
123 #ifdef __cplusplus
124 extern "C" {
125 #endif /* __cplusplus */
126 
127 
132 const char * limal_lib_version();
133 
134 
139 unsigned int limal_api_version();
140 
141 
142 #ifdef __cplusplus
143 }
144 #endif /* __cplusplus */
145 
146 #endif /* LIMAL_CONFIG_H */
147 /* vim: set ts=8 sts=8 sw=8 ai noet: */