12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #ifndef CONFIG_NUMPY20170215_H_
- # define CONFIG_NUMPY20170215_H_
- # include <boost/config.hpp>
- #ifdef BOOST_NUMPY_STATIC_LIB
- # define BOOST_NUMPY_STATIC_LINK
- # elif !defined(BOOST_NUMPY_DYNAMIC_LIB)
- # define BOOST_NUMPY_DYNAMIC_LIB
- #endif
- #if defined(BOOST_NUMPY_DYNAMIC_LIB)
- # if defined(BOOST_SYMBOL_EXPORT)
- # if defined(BOOST_NUMPY_SOURCE)
- # define BOOST_NUMPY_DECL BOOST_SYMBOL_EXPORT
- # define BOOST_NUMPY_DECL_FORWARD BOOST_SYMBOL_FORWARD_EXPORT
- # define BOOST_NUMPY_DECL_EXCEPTION BOOST_EXCEPTION_EXPORT
- # define BOOST_NUMPY_BUILD_DLL
- # else
- # define BOOST_NUMPY_DECL BOOST_SYMBOL_IMPORT
- # define BOOST_NUMPY_DECL_FORWARD BOOST_SYMBOL_FORWARD_IMPORT
- # define BOOST_NUMPY_DECL_EXCEPTION BOOST_EXCEPTION_IMPORT
- # endif
- # endif
- #endif
- #ifndef BOOST_NUMPY_DECL
- # define BOOST_NUMPY_DECL
- #endif
- #ifndef BOOST_NUMPY_DECL_FORWARD
- # define BOOST_NUMPY_DECL_FORWARD
- #endif
- #ifndef BOOST_NUMPY_DECL_EXCEPTION
- # define BOOST_NUMPY_DECL_EXCEPTION
- #endif
- #if !defined(BOOST_NUMPY_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_NUMPY_NO_LIB)
- #define _BOOST_PYTHON_CONCAT(N, M, m) N ## M ## m
- #define BOOST_PYTHON_CONCAT(N, M, m) _BOOST_PYTHON_CONCAT(N, M, m)
- #define BOOST_LIB_NAME BOOST_PYTHON_CONCAT(boost_numpy, PY_MAJOR_VERSION, PY_MINOR_VERSION)
- #ifdef BOOST_NUMPY_DYNAMIC_LIB
- # define BOOST_DYN_LINK
- #endif
- #include <boost/config/auto_link.hpp>
- #endif
- #undef BOOST_PYTHON_CONCAT
- #undef _BOOST_PYTHON_CONCAT
- #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
- #endif
|