diff options
Diffstat (limited to 'third_party/msgpack/include/msgpack/preprocessor/slot/slot.hpp')
-rw-r--r-- | third_party/msgpack/include/msgpack/preprocessor/slot/slot.hpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/preprocessor/slot/slot.hpp b/third_party/msgpack/include/msgpack/preprocessor/slot/slot.hpp new file mode 100644 index 0000000000..8732fc8c98 --- /dev/null +++ b/third_party/msgpack/include/msgpack/preprocessor/slot/slot.hpp @@ -0,0 +1,32 @@ +# /* ************************************************************************** +# * * +# * (C) Copyright Paul Mensonides 2002. +# * Distributed under the Boost Software License, Version 1.0. (See +# * accompanying file LICENSE_1_0.txt or copy at +# * http://www.boost.org/LICENSE_1_0.txt) +# * * +# ************************************************************************** */ +# +# /* See http://www.boost.org for most recent version. */ +# +# ifndef MSGPACK_PREPROCESSOR_SLOT_SLOT_HPP +# define MSGPACK_PREPROCESSOR_SLOT_SLOT_HPP +# +# include <msgpack/preprocessor/cat.hpp> +# include <msgpack/preprocessor/slot/detail/def.hpp> +# +# /* MSGPACK_PP_ASSIGN_SLOT */ +# +# define MSGPACK_PP_ASSIGN_SLOT(i) MSGPACK_PP_CAT(MSGPACK_PP_ASSIGN_SLOT_, i) +# +# define MSGPACK_PP_ASSIGN_SLOT_1 <msgpack/preprocessor/slot/detail/slot1.hpp> +# define MSGPACK_PP_ASSIGN_SLOT_2 <msgpack/preprocessor/slot/detail/slot2.hpp> +# define MSGPACK_PP_ASSIGN_SLOT_3 <msgpack/preprocessor/slot/detail/slot3.hpp> +# define MSGPACK_PP_ASSIGN_SLOT_4 <msgpack/preprocessor/slot/detail/slot4.hpp> +# define MSGPACK_PP_ASSIGN_SLOT_5 <msgpack/preprocessor/slot/detail/slot5.hpp> +# +# /* MSGPACK_PP_SLOT */ +# +# define MSGPACK_PP_SLOT(i) MSGPACK_PP_CAT(MSGPACK_PP_SLOT_, i)() +# +# endif |