File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
include/boost/python/converter Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ struct registration;
1616namespace detail
1717{
1818 struct BOOST_PYTHON_DECL arg_to_python_base
19- # if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102171
19+ # if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102179
2020 : handle<>
2121# endif
2222 {
2323 arg_to_python_base (void const volatile * source, registration const &);
24- # if defined(BOOST_MSVC) && BOOST_MSVC > 1300 && _MSC_FULL_VER <= 13102171
24+ # if defined(BOOST_MSVC) && BOOST_MSVC > 1300 && _MSC_FULL_VER <= 13102179
2525 PyObject* get () const { return m_ptr.get (); }
2626 PyObject* release () { return m_ptr.release (); }
2727 private:
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ namespace detail
3838{
3939 arg_to_python_base::arg_to_python_base (
4040 void const volatile * source, registration const & converters)
41- # if !defined(BOOST_MSVC) || _MSC_FULL_VER != 13102171
41+ # if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER > 13102179
4242 : handle<>(converter::convert_to_python(source, converters))
4343# else
4444 : m_ptr(converter::convert_to_python(source, converters))
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ namespace objects
268268
269269 object module_name = PyObject_IsInstance (scope ().ptr (), upcast<PyObject>(&PyModule_Type))
270270 ? scope ().attr (" __name__" )
271- : getattr (scope (), " __module__" , object (" " ))
271+ : api:: getattr (scope (), " __module__" , object (" " ))
272272 ;
273273
274274 if (module_name)
Original file line number Diff line number Diff line change 66#include < boost/python/object/inheritance.hpp>
77#include < boost/python/type_id.hpp>
88#include < boost/graph/breadth_first_search.hpp>
9- #if defined(BOOST_MSVC) && _MSC_FULL_VER == 13102171
9+ #if _MSC_FULL_VER >= 13102171 && _MSC_FULL_VER <= 13102179
1010# include < boost/graph/reverse_graph.hpp>
1111#endif
1212#include < boost/graph/adjacency_list.hpp>
You can’t perform that action at this time.
0 commit comments