2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-28 07:22:31 +00:00

Pro7 compatibility

[SVN r11681]
This commit is contained in:
Dave Abrahams
2001-11-14 17:41:17 +00:00
parent 634d0848c8
commit 6e7f1bc257

View File

@@ -238,6 +238,9 @@ class python_extension_class_converters
}
boost::python::detail::report_missing_instance_data(self, boost::python::detail::class_registry<T>::class_object(), typeid(T));
throw boost::python::argument_error();
#if defined(__MWERKS__) && __MWERKS__ <= 0x2406
return 0;
#endif
}
// Convert to T*
@@ -266,6 +269,10 @@ class python_extension_class_converters
}
boost::python::detail::report_missing_ptr_data(self, boost::python::detail::class_registry<T>::class_object(), typeid(T));
throw boost::python::argument_error();
#if defined(__MWERKS__) && __MWERKS__ <= 0x2406
PtrType x;
return x;
#endif
}
// Extract from obj a reference to the PtrType object which is holding a