messagepack implementation for embedded systems (mbed / arduino)
Dependents: hello_message_pack
is_unary.hpp
00001 # /* ************************************************************************** 00002 # * * 00003 # * (C) Copyright Paul Mensonides 2002. 00004 # * Distributed under the Boost Software License, Version 1.0. (See 00005 # * accompanying file LICENSE_1_0.txt or copy at 00006 # * http://www.boost.org/LICENSE_1_0.txt) 00007 # * * 00008 # ************************************************************************** */ 00009 # 00010 # /* See http://www.boost.org for most recent version. */ 00011 # 00012 # ifndef MSGPACK_PREPROCESSOR_DETAIL_IS_UNARY_HPP 00013 # define MSGPACK_PREPROCESSOR_DETAIL_IS_UNARY_HPP 00014 # 00015 # include <msgpack/preprocessor/config/config.hpp> 00016 # include <msgpack/preprocessor/detail/check.hpp> 00017 # 00018 # /* MSGPACK_PP_IS_UNARY */ 00019 # 00020 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 00021 # define MSGPACK_PP_IS_UNARY(x) MSGPACK_PP_CHECK(x, MSGPACK_PP_IS_UNARY_CHECK) 00022 # else 00023 # define MSGPACK_PP_IS_UNARY(x) MSGPACK_PP_IS_UNARY_I(x) 00024 # define MSGPACK_PP_IS_UNARY_I(x) MSGPACK_PP_CHECK(x, MSGPACK_PP_IS_UNARY_CHECK) 00025 # endif 00026 # 00027 # define MSGPACK_PP_IS_UNARY_CHECK(a) 1 00028 # define MSGPACK_PP_CHECK_RESULT_MSGPACK_PP_IS_UNARY_CHECK 0, MSGPACK_PP_NIL 00029 # 00030 # endif
Generated on Tue Jul 12 2022 22:51:45 by 1.7.2