We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50233fe + 77b6aa7 commit f8d3b66Copy full SHA for f8d3b66
include/IECorePython/IECoreBinding.h
@@ -79,9 +79,9 @@ IECOREPYTHON_API std::string repr( T &x );
79
80
/// For backwards compatibility with older versions of boost,
81
/// which don't provide boost::python::len
82
-IECOREPYTHON_API inline ssize_t len( const boost::python::object &obj )
+IECOREPYTHON_API inline Py_ssize_t len( const boost::python::object &obj )
83
{
84
- ssize_t result = PyObject_Length( obj.ptr() );
+ Py_ssize_t result = PyObject_Length( obj.ptr() );
85
86
if( PyErr_Occurred() )
87
0 commit comments