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/slot/detail/counter.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 | # /* ************************************************************************** |
hideakitai | 0:3f9dbf1e2cb0 | 2 | # * * |
hideakitai | 0:3f9dbf1e2cb0 | 3 | # * (C) Copyright Paul Mensonides 2005. * |
hideakitai | 0:3f9dbf1e2cb0 | 4 | # * Distributed under the Boost Software License, Version 1.0. (See * |
hideakitai | 0:3f9dbf1e2cb0 | 5 | # * accompanying file LICENSE_1_0.txt or copy at * |
hideakitai | 0:3f9dbf1e2cb0 | 6 | # * http://www.boost.org/LICENSE_1_0.txt) * |
hideakitai | 0:3f9dbf1e2cb0 | 7 | # * * |
hideakitai | 0:3f9dbf1e2cb0 | 8 | # ************************************************************************** */ |
hideakitai | 0:3f9dbf1e2cb0 | 9 | # |
hideakitai | 0:3f9dbf1e2cb0 | 10 | # /* See http://www.boost.org for most recent version. */ |
hideakitai | 0:3f9dbf1e2cb0 | 11 | # |
hideakitai | 0:3f9dbf1e2cb0 | 12 | # define MSGPACK_PP_VALUE MSGPACK_PP_COUNTER + 1 |
hideakitai | 0:3f9dbf1e2cb0 | 13 | # |
hideakitai | 0:3f9dbf1e2cb0 | 14 | # include <msgpack/preprocessor/slot/detail/shared.hpp> |
hideakitai | 0:3f9dbf1e2cb0 | 15 | # |
hideakitai | 0:3f9dbf1e2cb0 | 16 | # undef MSGPACK_PP_COUNTER |
hideakitai | 0:3f9dbf1e2cb0 | 17 | # |
hideakitai | 0:3f9dbf1e2cb0 | 18 | # undef MSGPACK_PP_COUNTER_DIGIT_1 |
hideakitai | 0:3f9dbf1e2cb0 | 19 | # undef MSGPACK_PP_COUNTER_DIGIT_2 |
hideakitai | 0:3f9dbf1e2cb0 | 20 | # undef MSGPACK_PP_COUNTER_DIGIT_3 |
hideakitai | 0:3f9dbf1e2cb0 | 21 | # undef MSGPACK_PP_COUNTER_DIGIT_4 |
hideakitai | 0:3f9dbf1e2cb0 | 22 | # undef MSGPACK_PP_COUNTER_DIGIT_5 |
hideakitai | 0:3f9dbf1e2cb0 | 23 | # undef MSGPACK_PP_COUNTER_DIGIT_6 |
hideakitai | 0:3f9dbf1e2cb0 | 24 | # undef MSGPACK_PP_COUNTER_DIGIT_7 |
hideakitai | 0:3f9dbf1e2cb0 | 25 | # undef MSGPACK_PP_COUNTER_DIGIT_8 |
hideakitai | 0:3f9dbf1e2cb0 | 26 | # undef MSGPACK_PP_COUNTER_DIGIT_9 |
hideakitai | 0:3f9dbf1e2cb0 | 27 | # undef MSGPACK_PP_COUNTER_DIGIT_10 |
hideakitai | 0:3f9dbf1e2cb0 | 28 | # |
hideakitai | 0:3f9dbf1e2cb0 | 29 | # if MSGPACK_PP_SLOT_TEMP_10 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 30 | # define MSGPACK_PP_COUNTER_DIGIT_10 0 |
hideakitai | 0:3f9dbf1e2cb0 | 31 | # elif MSGPACK_PP_SLOT_TEMP_10 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 32 | # define MSGPACK_PP_COUNTER_DIGIT_10 1 |
hideakitai | 0:3f9dbf1e2cb0 | 33 | # elif MSGPACK_PP_SLOT_TEMP_10 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 34 | # define MSGPACK_PP_COUNTER_DIGIT_10 2 |
hideakitai | 0:3f9dbf1e2cb0 | 35 | # elif MSGPACK_PP_SLOT_TEMP_10 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 36 | # define MSGPACK_PP_COUNTER_DIGIT_10 3 |
hideakitai | 0:3f9dbf1e2cb0 | 37 | # elif MSGPACK_PP_SLOT_TEMP_10 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 38 | # define MSGPACK_PP_COUNTER_DIGIT_10 4 |
hideakitai | 0:3f9dbf1e2cb0 | 39 | # elif MSGPACK_PP_SLOT_TEMP_10 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 40 | # define MSGPACK_PP_COUNTER_DIGIT_10 5 |
hideakitai | 0:3f9dbf1e2cb0 | 41 | # elif MSGPACK_PP_SLOT_TEMP_10 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 42 | # define MSGPACK_PP_COUNTER_DIGIT_10 6 |
hideakitai | 0:3f9dbf1e2cb0 | 43 | # elif MSGPACK_PP_SLOT_TEMP_10 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 44 | # define MSGPACK_PP_COUNTER_DIGIT_10 7 |
hideakitai | 0:3f9dbf1e2cb0 | 45 | # elif MSGPACK_PP_SLOT_TEMP_10 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 46 | # define MSGPACK_PP_COUNTER_DIGIT_10 8 |
hideakitai | 0:3f9dbf1e2cb0 | 47 | # elif MSGPACK_PP_SLOT_TEMP_10 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 48 | # define MSGPACK_PP_COUNTER_DIGIT_10 9 |
hideakitai | 0:3f9dbf1e2cb0 | 49 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 50 | # |
hideakitai | 0:3f9dbf1e2cb0 | 51 | # if MSGPACK_PP_SLOT_TEMP_9 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 52 | # define MSGPACK_PP_COUNTER_DIGIT_9 0 |
hideakitai | 0:3f9dbf1e2cb0 | 53 | # elif MSGPACK_PP_SLOT_TEMP_9 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 54 | # define MSGPACK_PP_COUNTER_DIGIT_9 1 |
hideakitai | 0:3f9dbf1e2cb0 | 55 | # elif MSGPACK_PP_SLOT_TEMP_9 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 56 | # define MSGPACK_PP_COUNTER_DIGIT_9 2 |
hideakitai | 0:3f9dbf1e2cb0 | 57 | # elif MSGPACK_PP_SLOT_TEMP_9 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 58 | # define MSGPACK_PP_COUNTER_DIGIT_9 3 |
hideakitai | 0:3f9dbf1e2cb0 | 59 | # elif MSGPACK_PP_SLOT_TEMP_9 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 60 | # define MSGPACK_PP_COUNTER_DIGIT_9 4 |
hideakitai | 0:3f9dbf1e2cb0 | 61 | # elif MSGPACK_PP_SLOT_TEMP_9 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 62 | # define MSGPACK_PP_COUNTER_DIGIT_9 5 |
hideakitai | 0:3f9dbf1e2cb0 | 63 | # elif MSGPACK_PP_SLOT_TEMP_9 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 64 | # define MSGPACK_PP_COUNTER_DIGIT_9 6 |
hideakitai | 0:3f9dbf1e2cb0 | 65 | # elif MSGPACK_PP_SLOT_TEMP_9 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 66 | # define MSGPACK_PP_COUNTER_DIGIT_9 7 |
hideakitai | 0:3f9dbf1e2cb0 | 67 | # elif MSGPACK_PP_SLOT_TEMP_9 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 68 | # define MSGPACK_PP_COUNTER_DIGIT_9 8 |
hideakitai | 0:3f9dbf1e2cb0 | 69 | # elif MSGPACK_PP_SLOT_TEMP_9 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 70 | # define MSGPACK_PP_COUNTER_DIGIT_9 9 |
hideakitai | 0:3f9dbf1e2cb0 | 71 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 72 | # |
hideakitai | 0:3f9dbf1e2cb0 | 73 | # if MSGPACK_PP_SLOT_TEMP_8 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 74 | # define MSGPACK_PP_COUNTER_DIGIT_8 0 |
hideakitai | 0:3f9dbf1e2cb0 | 75 | # elif MSGPACK_PP_SLOT_TEMP_8 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 76 | # define MSGPACK_PP_COUNTER_DIGIT_8 1 |
hideakitai | 0:3f9dbf1e2cb0 | 77 | # elif MSGPACK_PP_SLOT_TEMP_8 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 78 | # define MSGPACK_PP_COUNTER_DIGIT_8 2 |
hideakitai | 0:3f9dbf1e2cb0 | 79 | # elif MSGPACK_PP_SLOT_TEMP_8 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 80 | # define MSGPACK_PP_COUNTER_DIGIT_8 3 |
hideakitai | 0:3f9dbf1e2cb0 | 81 | # elif MSGPACK_PP_SLOT_TEMP_8 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 82 | # define MSGPACK_PP_COUNTER_DIGIT_8 4 |
hideakitai | 0:3f9dbf1e2cb0 | 83 | # elif MSGPACK_PP_SLOT_TEMP_8 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 84 | # define MSGPACK_PP_COUNTER_DIGIT_8 5 |
hideakitai | 0:3f9dbf1e2cb0 | 85 | # elif MSGPACK_PP_SLOT_TEMP_8 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 86 | # define MSGPACK_PP_COUNTER_DIGIT_8 6 |
hideakitai | 0:3f9dbf1e2cb0 | 87 | # elif MSGPACK_PP_SLOT_TEMP_8 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 88 | # define MSGPACK_PP_COUNTER_DIGIT_8 7 |
hideakitai | 0:3f9dbf1e2cb0 | 89 | # elif MSGPACK_PP_SLOT_TEMP_8 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 90 | # define MSGPACK_PP_COUNTER_DIGIT_8 8 |
hideakitai | 0:3f9dbf1e2cb0 | 91 | # elif MSGPACK_PP_SLOT_TEMP_8 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 92 | # define MSGPACK_PP_COUNTER_DIGIT_8 9 |
hideakitai | 0:3f9dbf1e2cb0 | 93 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 94 | # |
hideakitai | 0:3f9dbf1e2cb0 | 95 | # if MSGPACK_PP_SLOT_TEMP_7 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 96 | # define MSGPACK_PP_COUNTER_DIGIT_7 0 |
hideakitai | 0:3f9dbf1e2cb0 | 97 | # elif MSGPACK_PP_SLOT_TEMP_7 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 98 | # define MSGPACK_PP_COUNTER_DIGIT_7 1 |
hideakitai | 0:3f9dbf1e2cb0 | 99 | # elif MSGPACK_PP_SLOT_TEMP_7 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 100 | # define MSGPACK_PP_COUNTER_DIGIT_7 2 |
hideakitai | 0:3f9dbf1e2cb0 | 101 | # elif MSGPACK_PP_SLOT_TEMP_7 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 102 | # define MSGPACK_PP_COUNTER_DIGIT_7 3 |
hideakitai | 0:3f9dbf1e2cb0 | 103 | # elif MSGPACK_PP_SLOT_TEMP_7 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 104 | # define MSGPACK_PP_COUNTER_DIGIT_7 4 |
hideakitai | 0:3f9dbf1e2cb0 | 105 | # elif MSGPACK_PP_SLOT_TEMP_7 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 106 | # define MSGPACK_PP_COUNTER_DIGIT_7 5 |
hideakitai | 0:3f9dbf1e2cb0 | 107 | # elif MSGPACK_PP_SLOT_TEMP_7 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 108 | # define MSGPACK_PP_COUNTER_DIGIT_7 6 |
hideakitai | 0:3f9dbf1e2cb0 | 109 | # elif MSGPACK_PP_SLOT_TEMP_7 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 110 | # define MSGPACK_PP_COUNTER_DIGIT_7 7 |
hideakitai | 0:3f9dbf1e2cb0 | 111 | # elif MSGPACK_PP_SLOT_TEMP_7 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 112 | # define MSGPACK_PP_COUNTER_DIGIT_7 8 |
hideakitai | 0:3f9dbf1e2cb0 | 113 | # elif MSGPACK_PP_SLOT_TEMP_7 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 114 | # define MSGPACK_PP_COUNTER_DIGIT_7 9 |
hideakitai | 0:3f9dbf1e2cb0 | 115 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 116 | # |
hideakitai | 0:3f9dbf1e2cb0 | 117 | # if MSGPACK_PP_SLOT_TEMP_6 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 118 | # define MSGPACK_PP_COUNTER_DIGIT_6 0 |
hideakitai | 0:3f9dbf1e2cb0 | 119 | # elif MSGPACK_PP_SLOT_TEMP_6 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 120 | # define MSGPACK_PP_COUNTER_DIGIT_6 1 |
hideakitai | 0:3f9dbf1e2cb0 | 121 | # elif MSGPACK_PP_SLOT_TEMP_6 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 122 | # define MSGPACK_PP_COUNTER_DIGIT_6 2 |
hideakitai | 0:3f9dbf1e2cb0 | 123 | # elif MSGPACK_PP_SLOT_TEMP_6 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 124 | # define MSGPACK_PP_COUNTER_DIGIT_6 3 |
hideakitai | 0:3f9dbf1e2cb0 | 125 | # elif MSGPACK_PP_SLOT_TEMP_6 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 126 | # define MSGPACK_PP_COUNTER_DIGIT_6 4 |
hideakitai | 0:3f9dbf1e2cb0 | 127 | # elif MSGPACK_PP_SLOT_TEMP_6 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 128 | # define MSGPACK_PP_COUNTER_DIGIT_6 5 |
hideakitai | 0:3f9dbf1e2cb0 | 129 | # elif MSGPACK_PP_SLOT_TEMP_6 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 130 | # define MSGPACK_PP_COUNTER_DIGIT_6 6 |
hideakitai | 0:3f9dbf1e2cb0 | 131 | # elif MSGPACK_PP_SLOT_TEMP_6 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 132 | # define MSGPACK_PP_COUNTER_DIGIT_6 7 |
hideakitai | 0:3f9dbf1e2cb0 | 133 | # elif MSGPACK_PP_SLOT_TEMP_6 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 134 | # define MSGPACK_PP_COUNTER_DIGIT_6 8 |
hideakitai | 0:3f9dbf1e2cb0 | 135 | # elif MSGPACK_PP_SLOT_TEMP_6 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 136 | # define MSGPACK_PP_COUNTER_DIGIT_6 9 |
hideakitai | 0:3f9dbf1e2cb0 | 137 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 138 | # |
hideakitai | 0:3f9dbf1e2cb0 | 139 | # if MSGPACK_PP_SLOT_TEMP_5 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 140 | # define MSGPACK_PP_COUNTER_DIGIT_5 0 |
hideakitai | 0:3f9dbf1e2cb0 | 141 | # elif MSGPACK_PP_SLOT_TEMP_5 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 142 | # define MSGPACK_PP_COUNTER_DIGIT_5 1 |
hideakitai | 0:3f9dbf1e2cb0 | 143 | # elif MSGPACK_PP_SLOT_TEMP_5 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 144 | # define MSGPACK_PP_COUNTER_DIGIT_5 2 |
hideakitai | 0:3f9dbf1e2cb0 | 145 | # elif MSGPACK_PP_SLOT_TEMP_5 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 146 | # define MSGPACK_PP_COUNTER_DIGIT_5 3 |
hideakitai | 0:3f9dbf1e2cb0 | 147 | # elif MSGPACK_PP_SLOT_TEMP_5 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 148 | # define MSGPACK_PP_COUNTER_DIGIT_5 4 |
hideakitai | 0:3f9dbf1e2cb0 | 149 | # elif MSGPACK_PP_SLOT_TEMP_5 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 150 | # define MSGPACK_PP_COUNTER_DIGIT_5 5 |
hideakitai | 0:3f9dbf1e2cb0 | 151 | # elif MSGPACK_PP_SLOT_TEMP_5 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 152 | # define MSGPACK_PP_COUNTER_DIGIT_5 6 |
hideakitai | 0:3f9dbf1e2cb0 | 153 | # elif MSGPACK_PP_SLOT_TEMP_5 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 154 | # define MSGPACK_PP_COUNTER_DIGIT_5 7 |
hideakitai | 0:3f9dbf1e2cb0 | 155 | # elif MSGPACK_PP_SLOT_TEMP_5 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 156 | # define MSGPACK_PP_COUNTER_DIGIT_5 8 |
hideakitai | 0:3f9dbf1e2cb0 | 157 | # elif MSGPACK_PP_SLOT_TEMP_5 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 158 | # define MSGPACK_PP_COUNTER_DIGIT_5 9 |
hideakitai | 0:3f9dbf1e2cb0 | 159 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 160 | # |
hideakitai | 0:3f9dbf1e2cb0 | 161 | # if MSGPACK_PP_SLOT_TEMP_4 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 162 | # define MSGPACK_PP_COUNTER_DIGIT_4 0 |
hideakitai | 0:3f9dbf1e2cb0 | 163 | # elif MSGPACK_PP_SLOT_TEMP_4 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 164 | # define MSGPACK_PP_COUNTER_DIGIT_4 1 |
hideakitai | 0:3f9dbf1e2cb0 | 165 | # elif MSGPACK_PP_SLOT_TEMP_4 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 166 | # define MSGPACK_PP_COUNTER_DIGIT_4 2 |
hideakitai | 0:3f9dbf1e2cb0 | 167 | # elif MSGPACK_PP_SLOT_TEMP_4 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 168 | # define MSGPACK_PP_COUNTER_DIGIT_4 3 |
hideakitai | 0:3f9dbf1e2cb0 | 169 | # elif MSGPACK_PP_SLOT_TEMP_4 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 170 | # define MSGPACK_PP_COUNTER_DIGIT_4 4 |
hideakitai | 0:3f9dbf1e2cb0 | 171 | # elif MSGPACK_PP_SLOT_TEMP_4 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 172 | # define MSGPACK_PP_COUNTER_DIGIT_4 5 |
hideakitai | 0:3f9dbf1e2cb0 | 173 | # elif MSGPACK_PP_SLOT_TEMP_4 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 174 | # define MSGPACK_PP_COUNTER_DIGIT_4 6 |
hideakitai | 0:3f9dbf1e2cb0 | 175 | # elif MSGPACK_PP_SLOT_TEMP_4 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 176 | # define MSGPACK_PP_COUNTER_DIGIT_4 7 |
hideakitai | 0:3f9dbf1e2cb0 | 177 | # elif MSGPACK_PP_SLOT_TEMP_4 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 178 | # define MSGPACK_PP_COUNTER_DIGIT_4 8 |
hideakitai | 0:3f9dbf1e2cb0 | 179 | # elif MSGPACK_PP_SLOT_TEMP_4 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 180 | # define MSGPACK_PP_COUNTER_DIGIT_4 9 |
hideakitai | 0:3f9dbf1e2cb0 | 181 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 182 | # |
hideakitai | 0:3f9dbf1e2cb0 | 183 | # if MSGPACK_PP_SLOT_TEMP_3 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 184 | # define MSGPACK_PP_COUNTER_DIGIT_3 0 |
hideakitai | 0:3f9dbf1e2cb0 | 185 | # elif MSGPACK_PP_SLOT_TEMP_3 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 186 | # define MSGPACK_PP_COUNTER_DIGIT_3 1 |
hideakitai | 0:3f9dbf1e2cb0 | 187 | # elif MSGPACK_PP_SLOT_TEMP_3 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 188 | # define MSGPACK_PP_COUNTER_DIGIT_3 2 |
hideakitai | 0:3f9dbf1e2cb0 | 189 | # elif MSGPACK_PP_SLOT_TEMP_3 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 190 | # define MSGPACK_PP_COUNTER_DIGIT_3 3 |
hideakitai | 0:3f9dbf1e2cb0 | 191 | # elif MSGPACK_PP_SLOT_TEMP_3 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 192 | # define MSGPACK_PP_COUNTER_DIGIT_3 4 |
hideakitai | 0:3f9dbf1e2cb0 | 193 | # elif MSGPACK_PP_SLOT_TEMP_3 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 194 | # define MSGPACK_PP_COUNTER_DIGIT_3 5 |
hideakitai | 0:3f9dbf1e2cb0 | 195 | # elif MSGPACK_PP_SLOT_TEMP_3 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 196 | # define MSGPACK_PP_COUNTER_DIGIT_3 6 |
hideakitai | 0:3f9dbf1e2cb0 | 197 | # elif MSGPACK_PP_SLOT_TEMP_3 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 198 | # define MSGPACK_PP_COUNTER_DIGIT_3 7 |
hideakitai | 0:3f9dbf1e2cb0 | 199 | # elif MSGPACK_PP_SLOT_TEMP_3 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 200 | # define MSGPACK_PP_COUNTER_DIGIT_3 8 |
hideakitai | 0:3f9dbf1e2cb0 | 201 | # elif MSGPACK_PP_SLOT_TEMP_3 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 202 | # define MSGPACK_PP_COUNTER_DIGIT_3 9 |
hideakitai | 0:3f9dbf1e2cb0 | 203 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 204 | # |
hideakitai | 0:3f9dbf1e2cb0 | 205 | # if MSGPACK_PP_SLOT_TEMP_2 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 206 | # define MSGPACK_PP_COUNTER_DIGIT_2 0 |
hideakitai | 0:3f9dbf1e2cb0 | 207 | # elif MSGPACK_PP_SLOT_TEMP_2 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 208 | # define MSGPACK_PP_COUNTER_DIGIT_2 1 |
hideakitai | 0:3f9dbf1e2cb0 | 209 | # elif MSGPACK_PP_SLOT_TEMP_2 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 210 | # define MSGPACK_PP_COUNTER_DIGIT_2 2 |
hideakitai | 0:3f9dbf1e2cb0 | 211 | # elif MSGPACK_PP_SLOT_TEMP_2 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 212 | # define MSGPACK_PP_COUNTER_DIGIT_2 3 |
hideakitai | 0:3f9dbf1e2cb0 | 213 | # elif MSGPACK_PP_SLOT_TEMP_2 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 214 | # define MSGPACK_PP_COUNTER_DIGIT_2 4 |
hideakitai | 0:3f9dbf1e2cb0 | 215 | # elif MSGPACK_PP_SLOT_TEMP_2 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 216 | # define MSGPACK_PP_COUNTER_DIGIT_2 5 |
hideakitai | 0:3f9dbf1e2cb0 | 217 | # elif MSGPACK_PP_SLOT_TEMP_2 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 218 | # define MSGPACK_PP_COUNTER_DIGIT_2 6 |
hideakitai | 0:3f9dbf1e2cb0 | 219 | # elif MSGPACK_PP_SLOT_TEMP_2 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 220 | # define MSGPACK_PP_COUNTER_DIGIT_2 7 |
hideakitai | 0:3f9dbf1e2cb0 | 221 | # elif MSGPACK_PP_SLOT_TEMP_2 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 222 | # define MSGPACK_PP_COUNTER_DIGIT_2 8 |
hideakitai | 0:3f9dbf1e2cb0 | 223 | # elif MSGPACK_PP_SLOT_TEMP_2 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 224 | # define MSGPACK_PP_COUNTER_DIGIT_2 9 |
hideakitai | 0:3f9dbf1e2cb0 | 225 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 226 | # |
hideakitai | 0:3f9dbf1e2cb0 | 227 | # if MSGPACK_PP_SLOT_TEMP_1 == 0 |
hideakitai | 0:3f9dbf1e2cb0 | 228 | # define MSGPACK_PP_COUNTER_DIGIT_1 0 |
hideakitai | 0:3f9dbf1e2cb0 | 229 | # elif MSGPACK_PP_SLOT_TEMP_1 == 1 |
hideakitai | 0:3f9dbf1e2cb0 | 230 | # define MSGPACK_PP_COUNTER_DIGIT_1 1 |
hideakitai | 0:3f9dbf1e2cb0 | 231 | # elif MSGPACK_PP_SLOT_TEMP_1 == 2 |
hideakitai | 0:3f9dbf1e2cb0 | 232 | # define MSGPACK_PP_COUNTER_DIGIT_1 2 |
hideakitai | 0:3f9dbf1e2cb0 | 233 | # elif MSGPACK_PP_SLOT_TEMP_1 == 3 |
hideakitai | 0:3f9dbf1e2cb0 | 234 | # define MSGPACK_PP_COUNTER_DIGIT_1 3 |
hideakitai | 0:3f9dbf1e2cb0 | 235 | # elif MSGPACK_PP_SLOT_TEMP_1 == 4 |
hideakitai | 0:3f9dbf1e2cb0 | 236 | # define MSGPACK_PP_COUNTER_DIGIT_1 4 |
hideakitai | 0:3f9dbf1e2cb0 | 237 | # elif MSGPACK_PP_SLOT_TEMP_1 == 5 |
hideakitai | 0:3f9dbf1e2cb0 | 238 | # define MSGPACK_PP_COUNTER_DIGIT_1 5 |
hideakitai | 0:3f9dbf1e2cb0 | 239 | # elif MSGPACK_PP_SLOT_TEMP_1 == 6 |
hideakitai | 0:3f9dbf1e2cb0 | 240 | # define MSGPACK_PP_COUNTER_DIGIT_1 6 |
hideakitai | 0:3f9dbf1e2cb0 | 241 | # elif MSGPACK_PP_SLOT_TEMP_1 == 7 |
hideakitai | 0:3f9dbf1e2cb0 | 242 | # define MSGPACK_PP_COUNTER_DIGIT_1 7 |
hideakitai | 0:3f9dbf1e2cb0 | 243 | # elif MSGPACK_PP_SLOT_TEMP_1 == 8 |
hideakitai | 0:3f9dbf1e2cb0 | 244 | # define MSGPACK_PP_COUNTER_DIGIT_1 8 |
hideakitai | 0:3f9dbf1e2cb0 | 245 | # elif MSGPACK_PP_SLOT_TEMP_1 == 9 |
hideakitai | 0:3f9dbf1e2cb0 | 246 | # define MSGPACK_PP_COUNTER_DIGIT_1 9 |
hideakitai | 0:3f9dbf1e2cb0 | 247 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 248 | # |
hideakitai | 0:3f9dbf1e2cb0 | 249 | # if MSGPACK_PP_COUNTER_DIGIT_10 |
hideakitai | 0:3f9dbf1e2cb0 | 250 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_10(MSGPACK_PP_COUNTER_DIGIT_10, MSGPACK_PP_COUNTER_DIGIT_9, MSGPACK_PP_COUNTER_DIGIT_8, MSGPACK_PP_COUNTER_DIGIT_7, MSGPACK_PP_COUNTER_DIGIT_6, MSGPACK_PP_COUNTER_DIGIT_5, MSGPACK_PP_COUNTER_DIGIT_4, MSGPACK_PP_COUNTER_DIGIT_3, MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 251 | # elif MSGPACK_PP_COUNTER_DIGIT_9 |
hideakitai | 0:3f9dbf1e2cb0 | 252 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_9(MSGPACK_PP_COUNTER_DIGIT_9, MSGPACK_PP_COUNTER_DIGIT_8, MSGPACK_PP_COUNTER_DIGIT_7, MSGPACK_PP_COUNTER_DIGIT_6, MSGPACK_PP_COUNTER_DIGIT_5, MSGPACK_PP_COUNTER_DIGIT_4, MSGPACK_PP_COUNTER_DIGIT_3, MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 253 | # elif MSGPACK_PP_COUNTER_DIGIT_8 |
hideakitai | 0:3f9dbf1e2cb0 | 254 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_8(MSGPACK_PP_COUNTER_DIGIT_8, MSGPACK_PP_COUNTER_DIGIT_7, MSGPACK_PP_COUNTER_DIGIT_6, MSGPACK_PP_COUNTER_DIGIT_5, MSGPACK_PP_COUNTER_DIGIT_4, MSGPACK_PP_COUNTER_DIGIT_3, MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 255 | # elif MSGPACK_PP_COUNTER_DIGIT_7 |
hideakitai | 0:3f9dbf1e2cb0 | 256 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_7(MSGPACK_PP_COUNTER_DIGIT_7, MSGPACK_PP_COUNTER_DIGIT_6, MSGPACK_PP_COUNTER_DIGIT_5, MSGPACK_PP_COUNTER_DIGIT_4, MSGPACK_PP_COUNTER_DIGIT_3, MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 257 | # elif MSGPACK_PP_COUNTER_DIGIT_6 |
hideakitai | 0:3f9dbf1e2cb0 | 258 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_6(MSGPACK_PP_COUNTER_DIGIT_6, MSGPACK_PP_COUNTER_DIGIT_5, MSGPACK_PP_COUNTER_DIGIT_4, MSGPACK_PP_COUNTER_DIGIT_3, MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 259 | # elif MSGPACK_PP_COUNTER_DIGIT_5 |
hideakitai | 0:3f9dbf1e2cb0 | 260 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_5(MSGPACK_PP_COUNTER_DIGIT_5, MSGPACK_PP_COUNTER_DIGIT_4, MSGPACK_PP_COUNTER_DIGIT_3, MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 261 | # elif MSGPACK_PP_COUNTER_DIGIT_4 |
hideakitai | 0:3f9dbf1e2cb0 | 262 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_4(MSGPACK_PP_COUNTER_DIGIT_4, MSGPACK_PP_COUNTER_DIGIT_3, MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 263 | # elif MSGPACK_PP_COUNTER_DIGIT_3 |
hideakitai | 0:3f9dbf1e2cb0 | 264 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_3(MSGPACK_PP_COUNTER_DIGIT_3, MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 265 | # elif MSGPACK_PP_COUNTER_DIGIT_2 |
hideakitai | 0:3f9dbf1e2cb0 | 266 | # define MSGPACK_PP_COUNTER MSGPACK_PP_SLOT_CC_2(MSGPACK_PP_COUNTER_DIGIT_2, MSGPACK_PP_COUNTER_DIGIT_1) |
hideakitai | 0:3f9dbf1e2cb0 | 267 | # else |
hideakitai | 0:3f9dbf1e2cb0 | 268 | # define MSGPACK_PP_COUNTER MSGPACK_PP_COUNTER_DIGIT_1 |
hideakitai | 0:3f9dbf1e2cb0 | 269 | # endif |