diff options
author | Slávek Banko <[email protected]> | 2013-03-31 03:20:28 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-03-31 03:20:28 +0200 |
commit | 4dd3555f4b1ba66f692a36ac05c8e8ccd5e4eec0 (patch) | |
tree | 5e6d7c940f5f6c1d1649ada0f0807b8bfc931501 /sip/qtnetwork | |
parent | 4ce840182d803dde742908b6ab3d7bbcf56823c6 (diff) | |
download | pytqt-4dd3555f4b1ba66f692a36ac05c8e8ccd5e4eec0.tar.gz pytqt-4dd3555f4b1ba66f692a36ac05c8e8ccd5e4eec0.zip |
Fix "ANY" macro deprecation
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 | 16 | ||||
-rw-r--r-- | sip/qtnetwork/qsocketdevice.sip | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/sip/qtnetwork/qftp.sip b/sip/qtnetwork/qftp.sip index 14dc455..f3f053e 100644 --- a/sip/qtnetwork/qftp.sip +++ b/sip/qtnetwork/qftp.sip @@ -133,7 +133,7 @@ public: else if ((sipRes = PyString_FromStringAndSize(buf,actlen)) == NULL) sipIsErr = 1; - sipFree((ANY *)buf); + sipFree((void *)buf); } %End diff --git a/sip/qtnetwork/qhttp.sip b/sip/qtnetwork/qhttp.sip index ba3a251..8fbeae7 100644 --- a/sip/qtnetwork/qhttp.sip +++ b/sip/qtnetwork/qhttp.sip @@ -229,7 +229,7 @@ public: else if ((sipRes = PyString_FromStringAndSize(buf,actlen)) == NULL) sipIsErr = 1; - sipFree((ANY *)buf); + sipFree((void *)buf); } %End diff --git a/sip/qtnetwork/qsocket.sip b/sip/qtnetwork/qsocket.sip index 17dcd87..077443e 100644 --- a/sip/qtnetwork/qsocket.sip +++ b/sip/qtnetwork/qsocket.sip @@ -187,7 +187,7 @@ public: if (actlen < 0) { - sipFree((ANY *)buf); + sipFree((void *)buf); Py_INCREF(Py_None); sipRes = Py_None; @@ -196,7 +196,7 @@ public: { sipRes = PyString_FromStringAndSize(buf,actlen); - sipFree((ANY *)buf); + sipFree((void *)buf); if (sipRes == NULL) sipIsErr = 1; @@ -222,7 +222,7 @@ public: if (actlen < 0) { - sipFree((ANY *)buf); + sipFree((void *)buf); Py_INCREF(Py_None); sipRes = Py_None; @@ -231,7 +231,7 @@ public: { sipRes = PyString_FromStringAndSize(buf,actlen); - sipFree((ANY *)buf); + sipFree((void *)buf); if (sipRes == NULL) sipIsErr = 1; @@ -256,7 +256,7 @@ public: if (actlen < 0) { - sipFree((ANY *)buf); + sipFree((void *)buf); Py_INCREF(Py_None); sipRes = Py_None; @@ -265,7 +265,7 @@ public: { sipRes = PyString_FromStringAndSize(buf,actlen); - sipFree((ANY *)buf); + sipFree((void *)buf); if (sipRes == NULL) sipIsErr = 1; @@ -292,7 +292,7 @@ public: if (actlen < 0) { - sipFree((ANY *)buf); + sipFree((void *)buf); Py_INCREF(Py_None); sipRes = Py_None; @@ -301,7 +301,7 @@ public: { sipRes = PyString_FromStringAndSize(buf,actlen); - sipFree((ANY *)buf); + sipFree((void *)buf); if (sipRes == NULL) sipIsErr = 1; diff --git a/sip/qtnetwork/qsocketdevice.sip b/sip/qtnetwork/qsocketdevice.sip index c74b3f8..41da2f5 100644 --- a/sip/qtnetwork/qsocketdevice.sip +++ b/sip/qtnetwork/qsocketdevice.sip @@ -148,7 +148,7 @@ public: else if ((sipRes = PyString_FromStringAndSize(buf,actlen)) == NULL) sipIsErr = 1; - sipFree((ANY *)buf); + sipFree((void *)buf); } %End @@ -179,7 +179,7 @@ public: else if ((sipRes = PyString_FromStringAndSize(buf,actlen)) == NULL) sipIsErr = 1; - sipFree((ANY *)buf); + sipFree((void *)buf); } %End |