messagepack implementation for embedded systems (mbed / arduino)
Dependents: hello_message_pack
msgpack-c & msgpack-c++ https://github.com/msgpack/msgpack-c implementation for embedded systems (mbed / Arduino)
include/version.h@4:bd0c06dd6e92, 2016-02-22 (annotated)
- Committer:
- hideakitai
- Date:
- Mon Feb 22 01:43:48 2016 +0000
- Revision:
- 4:bd0c06dd6e92
- Parent:
- 0:3f9dbf1e2cb0
fix throw error
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hideakitai | 0:3f9dbf1e2cb0 | 1 | /* |
hideakitai | 0:3f9dbf1e2cb0 | 2 | * MessagePack for C version information |
hideakitai | 0:3f9dbf1e2cb0 | 3 | * |
hideakitai | 0:3f9dbf1e2cb0 | 4 | * Copyright (C) 2008-2009 FURUHASHI Sadayuki |
hideakitai | 0:3f9dbf1e2cb0 | 5 | * |
hideakitai | 0:3f9dbf1e2cb0 | 6 | * Distributed under the Boost Software License, Version 1.0. |
hideakitai | 0:3f9dbf1e2cb0 | 7 | * (See accompanying file LICENSE_1_0.txt or copy at |
hideakitai | 0:3f9dbf1e2cb0 | 8 | * http://www.boost.org/LICENSE_1_0.txt) |
hideakitai | 0:3f9dbf1e2cb0 | 9 | */ |
hideakitai | 0:3f9dbf1e2cb0 | 10 | #ifndef MSGPACK_VERSION_H |
hideakitai | 0:3f9dbf1e2cb0 | 11 | #define MSGPACK_VERSION_H |
hideakitai | 0:3f9dbf1e2cb0 | 12 | |
hideakitai | 0:3f9dbf1e2cb0 | 13 | #ifdef __cplusplus |
hideakitai | 0:3f9dbf1e2cb0 | 14 | extern "C" { |
hideakitai | 0:3f9dbf1e2cb0 | 15 | #endif |
hideakitai | 0:3f9dbf1e2cb0 | 16 | |
hideakitai | 0:3f9dbf1e2cb0 | 17 | MSGPACK_DLLEXPORT |
hideakitai | 0:3f9dbf1e2cb0 | 18 | const char* msgpack_version(void); |
hideakitai | 0:3f9dbf1e2cb0 | 19 | MSGPACK_DLLEXPORT |
hideakitai | 0:3f9dbf1e2cb0 | 20 | int msgpack_version_major(void); |
hideakitai | 0:3f9dbf1e2cb0 | 21 | MSGPACK_DLLEXPORT |
hideakitai | 0:3f9dbf1e2cb0 | 22 | int msgpack_version_minor(void); |
hideakitai | 0:3f9dbf1e2cb0 | 23 | MSGPACK_DLLEXPORT |
hideakitai | 0:3f9dbf1e2cb0 | 24 | int msgpack_version_revision(void); |
hideakitai | 0:3f9dbf1e2cb0 | 25 | |
hideakitai | 0:3f9dbf1e2cb0 | 26 | #include "version_master.h" |
hideakitai | 0:3f9dbf1e2cb0 | 27 | |
hideakitai | 0:3f9dbf1e2cb0 | 28 | #define MSGPACK_STR(v) #v |
hideakitai | 0:3f9dbf1e2cb0 | 29 | #define MSGPACK_VERSION_I(maj, min, rev) MSGPACK_STR(maj) "." MSGPACK_STR(min) "." MSGPACK_STR(rev) |
hideakitai | 0:3f9dbf1e2cb0 | 30 | |
hideakitai | 0:3f9dbf1e2cb0 | 31 | #define MSGPACK_VERSION MSGPACK_VERSION_I(MSGPACK_VERSION_MAJOR, MSGPACK_VERSION_MINOR, MSGPACK_VERSION_REVISION) |
hideakitai | 0:3f9dbf1e2cb0 | 32 | |
hideakitai | 0:3f9dbf1e2cb0 | 33 | #ifdef __cplusplus |
hideakitai | 0:3f9dbf1e2cb0 | 34 | } |
hideakitai | 0:3f9dbf1e2cb0 | 35 | #endif |
hideakitai | 0:3f9dbf1e2cb0 | 36 | |
hideakitai | 0:3f9dbf1e2cb0 | 37 | #endif /* msgpack/version.h */ |
hideakitai | 0:3f9dbf1e2cb0 | 38 |