aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtCore/glue/qbytearray_bufferprotocol.cpp')
-rw-r--r--PySide/QtCore/glue/qbytearray_bufferprotocol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp b/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp
index 19ee4e7b6..03ffcb4af 100644
--- a/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp
+++ b/PySide/QtCore/glue/qbytearray_bufferprotocol.cpp
@@ -15,10 +15,10 @@ 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::Wrapper::isValid(self))
+ if (segment || !Shiboken::Object::isValid(self))
return -1;
- QByteArray* cppSelf = Converter<QByteArray*>::toCpp(self);
+ QByteArray* cppSelf = Shiboken::Converter<QByteArray*>::toCpp(self);
*ptrptr = reinterpret_cast<void*>(cppSelf->data());
return cppSelf->size();
}