Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello_message_pack
include/msgpack/preprocessor/repetition/enum_params.hpp@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 | # /* Copyright (C) 2001 |
hideakitai | 0:3f9dbf1e2cb0 | 2 | # * Housemarque Oy |
hideakitai | 0:3f9dbf1e2cb0 | 3 | # * http://www.housemarque.com |
hideakitai | 0:3f9dbf1e2cb0 | 4 | # * |
hideakitai | 0:3f9dbf1e2cb0 | 5 | # * Distributed under the Boost Software License, Version 1.0. (See |
hideakitai | 0:3f9dbf1e2cb0 | 6 | # * accompanying file LICENSE_1_0.txt or copy at |
hideakitai | 0:3f9dbf1e2cb0 | 7 | # * http://www.boost.org/LICENSE_1_0.txt) |
hideakitai | 0:3f9dbf1e2cb0 | 8 | # */ |
hideakitai | 0:3f9dbf1e2cb0 | 9 | # |
hideakitai | 0:3f9dbf1e2cb0 | 10 | # /* Revised by Paul Mensonides (2002) */ |
hideakitai | 0:3f9dbf1e2cb0 | 11 | # |
hideakitai | 0:3f9dbf1e2cb0 | 12 | # /* See http://www.boost.org for most recent version. */ |
hideakitai | 0:3f9dbf1e2cb0 | 13 | # |
hideakitai | 0:3f9dbf1e2cb0 | 14 | # ifndef MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_HPP |
hideakitai | 0:3f9dbf1e2cb0 | 15 | # define MSGPACK_PREPROCESSOR_REPETITION_ENUM_PARAMS_HPP |
hideakitai | 0:3f9dbf1e2cb0 | 16 | # |
hideakitai | 0:3f9dbf1e2cb0 | 17 | # include <msgpack/preprocessor/config/config.hpp> |
hideakitai | 0:3f9dbf1e2cb0 | 18 | # include <msgpack/preprocessor/punctuation/comma_if.hpp> |
hideakitai | 0:3f9dbf1e2cb0 | 19 | # include <msgpack/preprocessor/repetition/repeat.hpp> |
hideakitai | 0:3f9dbf1e2cb0 | 20 | # |
hideakitai | 0:3f9dbf1e2cb0 | 21 | # /* MSGPACK_PP_ENUM_PARAMS */ |
hideakitai | 0:3f9dbf1e2cb0 | 22 | # |
hideakitai | 0:3f9dbf1e2cb0 | 23 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() |
hideakitai | 0:3f9dbf1e2cb0 | 24 | # define MSGPACK_PP_ENUM_PARAMS(count, param) MSGPACK_PP_REPEAT(count, MSGPACK_PP_ENUM_PARAMS_M, param) |
hideakitai | 0:3f9dbf1e2cb0 | 25 | # else |
hideakitai | 0:3f9dbf1e2cb0 | 26 | # define MSGPACK_PP_ENUM_PARAMS(count, param) MSGPACK_PP_ENUM_PARAMS_I(count, param) |
hideakitai | 0:3f9dbf1e2cb0 | 27 | # define MSGPACK_PP_ENUM_PARAMS_I(count, param) MSGPACK_PP_REPEAT(count, MSGPACK_PP_ENUM_PARAMS_M, param) |
hideakitai | 0:3f9dbf1e2cb0 | 28 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 29 | # |
hideakitai | 0:3f9dbf1e2cb0 | 30 | # define MSGPACK_PP_ENUM_PARAMS_M(z, n, param) MSGPACK_PP_COMMA_IF(n) param ## n |
hideakitai | 0:3f9dbf1e2cb0 | 31 | # |
hideakitai | 0:3f9dbf1e2cb0 | 32 | # /* MSGPACK_PP_ENUM_PARAMS_Z */ |
hideakitai | 0:3f9dbf1e2cb0 | 33 | # |
hideakitai | 0:3f9dbf1e2cb0 | 34 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() |
hideakitai | 0:3f9dbf1e2cb0 | 35 | # define MSGPACK_PP_ENUM_PARAMS_Z(z, count, param) MSGPACK_PP_REPEAT_ ## z(count, MSGPACK_PP_ENUM_PARAMS_M, param) |
hideakitai | 0:3f9dbf1e2cb0 | 36 | # else |
hideakitai | 0:3f9dbf1e2cb0 | 37 | # define MSGPACK_PP_ENUM_PARAMS_Z(z, count, param) MSGPACK_PP_ENUM_PARAMS_Z_I(z, count, param) |
hideakitai | 0:3f9dbf1e2cb0 | 38 | # define MSGPACK_PP_ENUM_PARAMS_Z_I(z, count, param) MSGPACK_PP_REPEAT_ ## z(count, MSGPACK_PP_ENUM_PARAMS_M, param) |
hideakitai | 0:3f9dbf1e2cb0 | 39 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 40 | # |
hideakitai | 0:3f9dbf1e2cb0 | 41 | # endif |