diff options
Diffstat (limited to 'boost/python/numpy/numpy_object_mgr_traits.hpp')
-rw-r--r-- | boost/python/numpy/numpy_object_mgr_traits.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boost/python/numpy/numpy_object_mgr_traits.hpp b/boost/python/numpy/numpy_object_mgr_traits.hpp index 8f9f444074..a138f4cd52 100644 --- a/boost/python/numpy/numpy_object_mgr_traits.hpp +++ b/boost/python/numpy/numpy_object_mgr_traits.hpp @@ -7,6 +7,8 @@ #ifndef boost_python_numpy_numpy_object_mgr_traits_hpp_ #define boost_python_numpy_numpy_object_mgr_traits_hpp_ +#include <boost/python/numpy/config.hpp> + /** * @brief Macro that specializes object_manager_traits by requiring a * source-file implementation of get_pytype(). @@ -14,7 +16,7 @@ #define NUMPY_OBJECT_MANAGER_TRAITS(manager) \ template <> \ -struct object_manager_traits<manager> \ +struct BOOST_NUMPY_DECL object_manager_traits<manager> \ { \ BOOST_STATIC_CONSTANT(bool, is_specialized = true); \ static inline python::detail::new_reference adopt(PyObject* x) \ |