Server IP : 172.67.216.182 / Your IP : 104.23.175.239 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/boost/boost_1_59_0/boost/python/detail/ |
Upload File : |
// Copyright David Abrahams 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) #ifndef PREPROCESSOR_DWA200247_HPP # define PREPROCESSOR_DWA200247_HPP # include <boost/preprocessor/cat.hpp> # include <boost/preprocessor/comma_if.hpp> # include <boost/preprocessor/repeat.hpp> # include <boost/preprocessor/tuple/elem.hpp> // stuff that should be in the preprocessor library # define BOOST_PYTHON_APPLY(x) BOOST_PP_CAT(BOOST_PYTHON_APPLY_, x) # define BOOST_PYTHON_APPLY_BOOST_PYTHON_ITEM(v) v # define BOOST_PYTHON_APPLY_BOOST_PYTHON_NIL // cv-qualifiers # if !defined(__MWERKS__) || __MWERKS__ > 0x2407 # define BOOST_PYTHON_CV_COUNT 4 # else # define BOOST_PYTHON_CV_COUNT 1 # endif # ifndef BOOST_PYTHON_MAX_ARITY # define BOOST_PYTHON_MAX_ARITY 15 # endif # ifndef BOOST_PYTHON_MAX_BASES # define BOOST_PYTHON_MAX_BASES 10 # endif # define BOOST_PYTHON_CV_QUALIFIER(i) \ BOOST_PYTHON_APPLY( \ BOOST_PP_TUPLE_ELEM(4, i, BOOST_PYTHON_CV_QUALIFIER_I) \ ) # define BOOST_PYTHON_CV_QUALIFIER_I \ ( \ BOOST_PYTHON_NIL, \ BOOST_PYTHON_ITEM(const), \ BOOST_PYTHON_ITEM(volatile), \ BOOST_PYTHON_ITEM(const volatile) \ ) // enumerators # define BOOST_PYTHON_UNARY_ENUM(c, text) BOOST_PP_REPEAT(c, BOOST_PYTHON_UNARY_ENUM_I, text) # define BOOST_PYTHON_UNARY_ENUM_I(z, n, text) BOOST_PP_COMMA_IF(n) text ## n # define BOOST_PYTHON_BINARY_ENUM(c, a, b) BOOST_PP_REPEAT(c, BOOST_PYTHON_BINARY_ENUM_I, (a, b)) # define BOOST_PYTHON_BINARY_ENUM_I(z, n, _) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM(2, 0, _), n) BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM(2, 1, _), n) # define BOOST_PYTHON_ENUM_WITH_DEFAULT(c, text, def) BOOST_PP_REPEAT(c, BOOST_PYTHON_ENUM_WITH_DEFAULT_I, (text, def)) # define BOOST_PYTHON_ENUM_WITH_DEFAULT_I(z, n, _) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(BOOST_PP_TUPLE_ELEM(2, 0, _), n) = BOOST_PP_TUPLE_ELEM(2, 1, _) // fixed text (no commas) # define BOOST_PYTHON_FIXED(z, n, text) text // flags # define BOOST_PYTHON_FUNCTION_POINTER 0x0001 # define BOOST_PYTHON_POINTER_TO_MEMBER 0x0002 #endif // PREPROCESSOR_DWA200247_HPP