]> www.ginac.de Git - cln.git/blob - include/cln/version.h
Finalize CLN 1.3.7 release.
[cln.git] / include / cln / version.h
1 /* CLN version information */
2
3 #ifndef _CL_VERSION_H
4 #define _CL_VERSION_H
5
6 /* Major version number of CLN */
7 #define CL_VERSION_MAJOR 1
8 /* Minor version number of CLN */
9 #define CL_VERSION_MINOR 3
10 /* Patchlevel version number of CLN */
11 #define CL_VERSION_PATCHLEVEL 7
12
13 /**
14  * Libtool's library version information for CLN.
15  * (Not to be confused with CLN's release version.)
16  * Making new releases:
17  * - increment cl_lt_revision,
18  * - if any interfaces have been added, removed, or changed, then increment
19  *   cl_lt_current and set cl_lt_revision to 0,
20  * - if any interfaces have been added, then increment cl_lt_age,
21  * - if any interfaces have been removed, set cl_lt_age to 0.
22  * (On many systems, $(cl_lt_current):$(cl_lt_revision):$(cl_lt_age) results in
23  *  libcln.so.$(cl_lt_current)-$(cl_lt_age).)
24  */
25 #define CL_LT_CURRENT 6
26 #define CL_LT_AGE 0
27 #define CL_LT_REVISION 7
28
29 #define CL_STR_HELPER(x) #x
30 #define CL_STR(x) CL_STR_HELPER(x)
31
32 #define CL_VERSION \
33         CL_STR(CL_VERSION_MAJOR) "." \
34         CL_STR(CL_VERSION_MINOR) "." \
35         CL_STR(CL_VERSION_PATCHLEVEL)
36
37 namespace cln {
38
39 extern const int version_major;
40 extern const int version_minor;
41 extern const int version_patchlevel;
42
43 }  // namespace cln
44
45 #endif /* _CL_VERSION_H */
46