|
Rcpp Version 0.9.10
|
00001 # /* Copyright (C) 2001 00002 # * Housemarque Oy 00003 # * http://www.housemarque.com 00004 # * 00005 # * Distributed under the Boost Software License, Version 1.0. (See 00006 # * accompanying file LICENSE_1_0.txt or copy at 00007 # * http://www.boost.org/LICENSE_1_0.txt) 00008 # */ 00009 # 00010 # /* Revised by Paul Mensonides (2002) */ 00011 # 00012 # /* See http://www.boost.org for most recent version. */ 00013 # 00014 # ifndef RCPP_PREPROCESSOR_CAT_HPP 00015 # define RCPP_PREPROCESSOR_CAT_HPP 00016 # 00017 # include <Rcpp/preprocessor/config.hpp> 00018 # 00019 # /* RCPP_PP_CAT */ 00020 # 00021 # if ~RCPP_PP_CONFIG_FLAGS() & RCPP_PP_CONFIG_MWCC() 00022 # define RCPP_PP_CAT(a, b) RCPP_PP_CAT_I(a, b) 00023 # else 00024 # define RCPP_PP_CAT(a, b) RCPP_PP_CAT_OO((a, b)) 00025 # define RCPP_PP_CAT_OO(par) RCPP_PP_CAT_I ## par 00026 # endif 00027 # 00028 # if ~RCPP_PP_CONFIG_FLAGS() & RCPP_PP_CONFIG_MSVC() 00029 # define RCPP_PP_CAT_I(a, b) a ## b 00030 # else 00031 # define RCPP_PP_CAT_I(a, b) RCPP_PP_CAT_II(a ## b) 00032 # define RCPP_PP_CAT_II(res) res 00033 # endif 00034 # 00035 # endif