diff --git a/include/boost/python/suite/indexing/python_iterator.hpp b/include/boost/python/suite/indexing/python_iterator.hpp index 0918d027..69e0d77b 100755 --- a/include/boost/python/suite/indexing/python_iterator.hpp +++ b/include/boost/python/suite/indexing/python_iterator.hpp @@ -24,19 +24,21 @@ #include namespace boost { namespace python { namespace indexing { - struct python_iterator + struct BOOST_PYTHON_DECL python_iterator { virtual ~python_iterator (); virtual bool next () = 0; virtual boost::python::object current() const = 0; }; - std::auto_ptr make_iterator (boost::python::object); + BOOST_PYTHON_DECL + std::auto_ptr + make_iterator (boost::python::object); // Returns null auto_ptr if object does not provide __iter__ nor // __getitem__, otherwise a pointer to a suitable implementation of // python_iterator - struct python_getitem_iterator : public python_iterator + struct BOOST_PYTHON_DECL python_getitem_iterator : public python_iterator { public: python_getitem_iterator (boost::python::object); @@ -49,7 +51,7 @@ namespace boost { namespace python { namespace indexing { boost::python::object mCurrent; }; - struct python_iter_iterator : public python_iterator + struct BOOST_PYTHON_DECL python_iter_iterator : public python_iterator { public: python_iter_iterator (boost::python::object);