File indexing completed on 2025-02-22 10:26:14
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef CONFIG_NUMPY20170215_H_
0013 # define CONFIG_NUMPY20170215_H_
0014
0015 # include <boost/config.hpp>
0016
0017
0018
0019
0020
0021
0022
0023
0024 #ifdef BOOST_NUMPY_STATIC_LIB
0025 # define BOOST_NUMPY_STATIC_LINK
0026 # elif !defined(BOOST_NUMPY_DYNAMIC_LIB)
0027 # define BOOST_NUMPY_DYNAMIC_LIB
0028 #endif
0029
0030 #if defined(BOOST_NUMPY_DYNAMIC_LIB)
0031 # if defined(BOOST_SYMBOL_EXPORT)
0032 # if defined(BOOST_NUMPY_SOURCE)
0033 # define BOOST_NUMPY_DECL BOOST_SYMBOL_EXPORT
0034 # define BOOST_NUMPY_DECL_FORWARD BOOST_SYMBOL_FORWARD_EXPORT
0035 # define BOOST_NUMPY_DECL_EXCEPTION BOOST_EXCEPTION_EXPORT
0036 # define BOOST_NUMPY_BUILD_DLL
0037 # else
0038 # define BOOST_NUMPY_DECL BOOST_SYMBOL_IMPORT
0039 # define BOOST_NUMPY_DECL_FORWARD BOOST_SYMBOL_FORWARD_IMPORT
0040 # define BOOST_NUMPY_DECL_EXCEPTION BOOST_EXCEPTION_IMPORT
0041 # endif
0042 # endif
0043
0044 #endif
0045
0046 #ifndef BOOST_NUMPY_DECL
0047 # define BOOST_NUMPY_DECL
0048 #endif
0049
0050 #ifndef BOOST_NUMPY_DECL_FORWARD
0051 # define BOOST_NUMPY_DECL_FORWARD
0052 #endif
0053
0054 #ifndef BOOST_NUMPY_DECL_EXCEPTION
0055 # define BOOST_NUMPY_DECL_EXCEPTION
0056 #endif
0057
0058
0059
0060 #if !defined(BOOST_NUMPY_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_NUMPY_NO_LIB)
0061
0062
0063
0064
0065 #define _BOOST_PYTHON_CONCAT(N, M, m) N ## M ## m
0066 #define BOOST_PYTHON_CONCAT(N, M, m) _BOOST_PYTHON_CONCAT(N, M, m)
0067 #define BOOST_LIB_NAME BOOST_PYTHON_CONCAT(boost_numpy, PY_MAJOR_VERSION, PY_MINOR_VERSION)
0068
0069
0070
0071 #ifdef BOOST_NUMPY_DYNAMIC_LIB
0072 # define BOOST_DYN_LINK
0073 #endif
0074
0075
0076
0077 #include <boost/config/auto_link.hpp>
0078 #endif
0079
0080 #undef BOOST_PYTHON_CONCAT
0081 #undef _BOOST_PYTHON_CONCAT
0082
0083 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
0084
0085 #endif