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/mpw.h@0:3f9dbf1e2cb0, 2016-02-13 (annotated)
- Committer:
- hideakitai
- Date:
- Sat Feb 13 01:53:11 2016 +0000
- Revision:
- 0:3f9dbf1e2cb0
first commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hideakitai | 0:3f9dbf1e2cb0 | 1 | /* |
hideakitai | 0:3f9dbf1e2cb0 | 2 | Copyright Rene Rivera 2008-2014 |
hideakitai | 0:3f9dbf1e2cb0 | 3 | Distributed under the Boost Software License, Version 1.0. |
hideakitai | 0:3f9dbf1e2cb0 | 4 | (See accompanying file LICENSE_1_0.txt or copy at |
hideakitai | 0:3f9dbf1e2cb0 | 5 | http://www.boost.org/LICENSE_1_0.txt) |
hideakitai | 0:3f9dbf1e2cb0 | 6 | */ |
hideakitai | 0:3f9dbf1e2cb0 | 7 | |
hideakitai | 0:3f9dbf1e2cb0 | 8 | #ifndef MSGPACK_PREDEF_COMPILER_MPW_H |
hideakitai | 0:3f9dbf1e2cb0 | 9 | #define MSGPACK_PREDEF_COMPILER_MPW_H |
hideakitai | 0:3f9dbf1e2cb0 | 10 | |
hideakitai | 0:3f9dbf1e2cb0 | 11 | #include <msgpack/predef/version_number.h> |
hideakitai | 0:3f9dbf1e2cb0 | 12 | #include <msgpack/predef/make.h> |
hideakitai | 0:3f9dbf1e2cb0 | 13 | |
hideakitai | 0:3f9dbf1e2cb0 | 14 | /*` |
hideakitai | 0:3f9dbf1e2cb0 | 15 | [heading `MSGPACK_COMP_MPW`] |
hideakitai | 0:3f9dbf1e2cb0 | 16 | |
hideakitai | 0:3f9dbf1e2cb0 | 17 | [@http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop MPW C++] compiler. |
hideakitai | 0:3f9dbf1e2cb0 | 18 | Version number available as major, and minor. |
hideakitai | 0:3f9dbf1e2cb0 | 19 | |
hideakitai | 0:3f9dbf1e2cb0 | 20 | [table |
hideakitai | 0:3f9dbf1e2cb0 | 21 | [[__predef_symbol__] [__predef_version__]] |
hideakitai | 0:3f9dbf1e2cb0 | 22 | |
hideakitai | 0:3f9dbf1e2cb0 | 23 | [[`__MRC__`] [__predef_detection__]] |
hideakitai | 0:3f9dbf1e2cb0 | 24 | [[`MPW_C`] [__predef_detection__]] |
hideakitai | 0:3f9dbf1e2cb0 | 25 | [[`MPW_CPLUS`] [__predef_detection__]] |
hideakitai | 0:3f9dbf1e2cb0 | 26 | |
hideakitai | 0:3f9dbf1e2cb0 | 27 | [[`__MRC__`] [V.R.0]] |
hideakitai | 0:3f9dbf1e2cb0 | 28 | ] |
hideakitai | 0:3f9dbf1e2cb0 | 29 | */ |
hideakitai | 0:3f9dbf1e2cb0 | 30 | |
hideakitai | 0:3f9dbf1e2cb0 | 31 | #define MSGPACK_COMP_MPW MSGPACK_VERSION_NUMBER_NOT_AVAILABLE |
hideakitai | 0:3f9dbf1e2cb0 | 32 | |
hideakitai | 0:3f9dbf1e2cb0 | 33 | #if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS) |
hideakitai | 0:3f9dbf1e2cb0 | 34 | # if !defined(MSGPACK_COMP_MPW_DETECTION) && defined(__MRC__) |
hideakitai | 0:3f9dbf1e2cb0 | 35 | # define MSGPACK_COMP_MPW_DETECTION MSGPACK_PREDEF_MAKE_0X_VVRR(__MRC__) |
hideakitai | 0:3f9dbf1e2cb0 | 36 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 37 | # if !defined(MSGPACK_COMP_MPW_DETECTION) |
hideakitai | 0:3f9dbf1e2cb0 | 38 | # define MSGPACK_COMP_MPW_DETECTION MSGPACK_VERSION_NUMBER_AVAILABLE |
hideakitai | 0:3f9dbf1e2cb0 | 39 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 40 | #endif |
hideakitai | 0:3f9dbf1e2cb0 | 41 | |
hideakitai | 0:3f9dbf1e2cb0 | 42 | #ifdef MSGPACK_COMP_MPW_DETECTION |
hideakitai | 0:3f9dbf1e2cb0 | 43 | # if defined(MSGPACK_PREDEF_DETAIL_COMP_DETECTED) |
hideakitai | 0:3f9dbf1e2cb0 | 44 | # define MSGPACK_COMP_MPW_EMULATED MSGPACK_COMP_MPW_DETECTION |
hideakitai | 0:3f9dbf1e2cb0 | 45 | # else |
hideakitai | 0:3f9dbf1e2cb0 | 46 | # undef MSGPACK_COMP_MPW |
hideakitai | 0:3f9dbf1e2cb0 | 47 | # define MSGPACK_COMP_MPW MSGPACK_COMP_MPW_DETECTION |
hideakitai | 0:3f9dbf1e2cb0 | 48 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 49 | # define MSGPACK_COMP_MPW_AVAILABLE |
hideakitai | 0:3f9dbf1e2cb0 | 50 | # include <msgpack/predef/detail/comp_detected.h> |
hideakitai | 0:3f9dbf1e2cb0 | 51 | #endif |
hideakitai | 0:3f9dbf1e2cb0 | 52 | |
hideakitai | 0:3f9dbf1e2cb0 | 53 | #define MSGPACK_COMP_MPW_NAME "MPW C++" |
hideakitai | 0:3f9dbf1e2cb0 | 54 | |
hideakitai | 0:3f9dbf1e2cb0 | 55 | #include <msgpack/predef/detail/test.h> |
hideakitai | 0:3f9dbf1e2cb0 | 56 | MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_MPW,MSGPACK_COMP_MPW_NAME) |
hideakitai | 0:3f9dbf1e2cb0 | 57 | |
hideakitai | 0:3f9dbf1e2cb0 | 58 | #ifdef MSGPACK_COMP_MPW_EMULATED |
hideakitai | 0:3f9dbf1e2cb0 | 59 | #include <msgpack/predef/detail/test.h> |
hideakitai | 0:3f9dbf1e2cb0 | 60 | MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_MPW_EMULATED,MSGPACK_COMP_MPW_NAME) |
hideakitai | 0:3f9dbf1e2cb0 | 61 | #endif |
hideakitai | 0:3f9dbf1e2cb0 | 62 | |
hideakitai | 0:3f9dbf1e2cb0 | 63 | |
hideakitai | 0:3f9dbf1e2cb0 | 64 | #endif |