docs: Add supported versions and fix-backport policy
[lttng-tools.git] / src / vendor / msgpack / version.h
1 /*
2 * MessagePack for C version information
3 *
4 * Copyright (C) 2008-2009 FURUHASHI Sadayuki
5 *
6 * Distributed under the Boost Software License, Version 1.0.
7 * (See accompanying file LICENSE_1_0.txt or copy at
8 * http://www.boost.org/LICENSE_1_0.txt)
9 */
10 #ifndef MSGPACK_VERSION_H
11 #define MSGPACK_VERSION_H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 MSGPACK_DLLEXPORT
18 const char* msgpack_version(void);
19 MSGPACK_DLLEXPORT
20 int msgpack_version_major(void);
21 MSGPACK_DLLEXPORT
22 int msgpack_version_minor(void);
23 MSGPACK_DLLEXPORT
24 int msgpack_version_revision(void);
25
26 #include "version_master.h"
27
28 #define MSGPACK_STR(v) #v
29 #define MSGPACK_VERSION_I(maj, min, rev) MSGPACK_STR(maj) "." MSGPACK_STR(min) "." MSGPACK_STR(rev)
30
31 #define MSGPACK_VERSION MSGPACK_VERSION_I(MSGPACK_VERSION_MAJOR, MSGPACK_VERSION_MINOR, MSGPACK_VERSION_REVISION)
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif /* msgpack/version.h */
38
This page took 0.030717 seconds and 5 git commands to generate.