messagepack implementation for embedded systems (mbed / arduino)

Dependents:   hello_message_pack

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers to_seq.hpp Source File

to_seq.hpp

00001 # /* **************************************************************************
00002 #  *                                                                          *
00003 #  *     (C) Copyright Edward Diener 2011.
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 # /* Revised by Paul Mensonides (2011) */
00011 #
00012 # /* See http://www.boost.org for most recent version. */
00013 #
00014 # ifndef MSGPACK_PREPROCESSOR_LIST_TO_SEQ_HPP
00015 # define MSGPACK_PREPROCESSOR_LIST_TO_SEQ_HPP
00016 #
00017 # include <msgpack/preprocessor/list/for_each.hpp>
00018 #
00019 # /* MSGPACK_PP_LIST_TO_SEQ */
00020 #
00021 # define MSGPACK_PP_LIST_TO_SEQ(list) \
00022     MSGPACK_PP_LIST_FOR_EACH(MSGPACK_PP_LIST_TO_SEQ_MACRO, ~, list) \
00023     /**/
00024 # define MSGPACK_PP_LIST_TO_SEQ_MACRO(r, data, elem) (elem)
00025 #
00026 # /* MSGPACK_PP_LIST_TO_SEQ_R */
00027 #
00028 # define MSGPACK_PP_LIST_TO_SEQ_R(r, list) \
00029     MSGPACK_PP_LIST_FOR_EACH_R(r, MSGPACK_PP_LIST_TO_SEQ_MACRO, ~, list) \
00030     /**/
00031 #
00032 # endif /* MSGPACK_PREPROCESSOR_LIST_TO_SEQ_HPP */