diff options
Diffstat (limited to 'sip/qtnetwork')
-rw-r--r-- | sip/qtnetwork/qftp.sip | 2 | ||||
-rw-r--r-- | sip/qtnetwork/qhttp.sip | 2 | ||||
-rw-r--r-- | sip/qtnetwork/qsocket.sip | 4 | ||||
-rw-r--r-- | sip/qtnetwork/qsocketdevice.sip | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sip/qtnetwork/qftp.sip b/sip/qtnetwork/qftp.sip index 9edb2c4..ee945db 100644 --- a/sip/qtnetwork/qftp.sip +++ b/sip/qtnetwork/qftp.sip @@ -121,7 +121,7 @@ public: Py_INCREF(Py_None); sipRes = Py_None; } - else if ((sipRes = SIPBytes_FromStringAndSize(buf,actlen)) == NULL) + else if ((sipRes = PyBytes_FromStringAndSize(buf,actlen)) == NULL) sipIsErr = 1; sipFree((void *)buf); diff --git a/sip/qtnetwork/qhttp.sip b/sip/qtnetwork/qhttp.sip index 9bb69b6..2f80e22 100644 --- a/sip/qtnetwork/qhttp.sip +++ b/sip/qtnetwork/qhttp.sip @@ -218,7 +218,7 @@ public: Py_INCREF(Py_None); sipRes = Py_None; } - else if ((sipRes = SIPBytes_FromStringAndSize(buf,actlen)) == NULL) + else if ((sipRes = PyBytes_FromStringAndSize(buf,actlen)) == NULL) sipIsErr = 1; sipFree((void *)buf); diff --git a/sip/qtnetwork/qsocket.sip b/sip/qtnetwork/qsocket.sip index a31fa73..ed52819 100644 --- a/sip/qtnetwork/qsocket.sip +++ b/sip/qtnetwork/qsocket.sip @@ -164,7 +164,7 @@ public: } else { - sipRes = SIPBytes_FromStringAndSize(buf,actlen); + sipRes = PyBytes_FromStringAndSize(buf,actlen); sipFree((void *)buf); @@ -200,7 +200,7 @@ public: } else { - sipRes = SIPBytes_FromStringAndSize(buf,actlen); + sipRes = PyBytes_FromStringAndSize(buf,actlen); sipFree((void *)buf); diff --git a/sip/qtnetwork/qsocketdevice.sip b/sip/qtnetwork/qsocketdevice.sip index 12d6b67..32ee5e5 100644 --- a/sip/qtnetwork/qsocketdevice.sip +++ b/sip/qtnetwork/qsocketdevice.sip @@ -123,7 +123,7 @@ public: Py_INCREF(Py_None); sipRes = Py_None; } - else if ((sipRes = SIPBytes_FromStringAndSize(buf,actlen)) == NULL) + else if ((sipRes = PyBytes_FromStringAndSize(buf,actlen)) == NULL) sipIsErr = 1; sipFree((void *)buf); |