diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 17:22:32 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 17:22:32 -0200 |
commit | 92dcb7ae3a92416b4129d549625eba0512e02426 (patch) | |
tree | 37d070b8a62502ec8a055d70b7c9d5a7453e179e /PySide/QtCore/glue/qbytearray_bufferprotocol.cpp | |
parent | 66ff08586178ffb601fe874d48b9847fb577f513 (diff) |
Changes needed to compile QtCore with libshiboken v1.0
Diffstat (limited to 'PySide/QtCore/glue/qbytearray_bufferprotocol.cpp')
-rw-r--r-- | PySide/QtCore/glue/qbytearray_bufferprotocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp b/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp index 4fd158789..19ee4e7b6 100644 --- a/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp +++ b/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp @@ -15,7 +15,7 @@ static Py_ssize_t SbkQByteArray_segcountproc(PyObject* self, Py_ssize_t* lenp) static Py_ssize_t SbkQByteArray_readbufferproc(PyObject* self, Py_ssize_t segment, void** ptrptr) { - if (segment || Shiboken::cppObjectIsInvalid(self)) + if (segment || !Shiboken::Wrapper::isValid(self)) return -1; QByteArray* cppSelf = Converter<QByteArray*>::toCpp(self); |