messagepack implementation for embedded systems (mbed / arduino)
Dependents: hello_message_pack
variadic_seq_to_seq.hpp
00001 # /* ************************************************************************** 00002 # * * 00003 # * (C) Copyright Paul Mensonides 2012. * 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_SEQ_VARIADIC_SEQ_TO_SEQ_HPP 00013 # define MSGPACK_PREPROCESSOR_SEQ_VARIADIC_SEQ_TO_SEQ_HPP 00014 # 00015 # include <msgpack/preprocessor/cat.hpp> 00016 # include <msgpack/preprocessor/config/config.hpp> 00017 # 00018 # /* MSGPACK_PP_VARIADIC_SEQ_TO_SEQ */ 00019 # 00020 # if MSGPACK_PP_VARIADICS 00021 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ(vseq) MSGPACK_PP_CAT(MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_A vseq, 0) 00022 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_A(...) ((__VA_ARGS__)) MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_B 00023 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_B(...) ((__VA_ARGS__)) MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_A 00024 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_A0 00025 # define MSGPACK_PP_VARIADIC_SEQ_TO_SEQ_B0 00026 # endif 00027 # 00028 # endif
Generated on Tue Jul 12 2022 22:51:46 by 1.7.2