diff options
author | Jose <jose@zeroc.com> | 2019-01-11 18:09:22 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-01-11 18:10:30 +0100 |
commit | 6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9 (patch) | |
tree | 21ae24549d02f8fd98d8211949dfdd4ab588d114 /python/modules/IcePy/EndpointInfo.cpp | |
parent | Fix whitespace (diff) | |
download | ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.tar.bz2 ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.tar.xz ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.zip |
GCC 8 Build fixes for Python, PHP and Ruby
Diffstat (limited to 'python/modules/IcePy/EndpointInfo.cpp')
-rw-r--r-- | python/modules/IcePy/EndpointInfo.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/python/modules/IcePy/EndpointInfo.cpp b/python/modules/IcePy/EndpointInfo.cpp index 3c5cbbb2b5e..4e525e16c51 100644 --- a/python/modules/IcePy/EndpointInfo.cpp +++ b/python/modules/IcePy/EndpointInfo.cpp @@ -49,7 +49,7 @@ endpointInfoDealloc(EndpointInfoObject* self) extern "C" #endif static PyObject* -endpointInfoType(EndpointInfoObject* self) +endpointInfoType(EndpointInfoObject* self, PyObject* /*args*/) { assert(self->endpointInfo); try @@ -71,7 +71,7 @@ endpointInfoType(EndpointInfoObject* self) extern "C" #endif static PyObject* -endpointInfoDatagram(EndpointInfoObject* self) +endpointInfoDatagram(EndpointInfoObject* self, PyObject* /*args*/) { assert(self->endpointInfo); PyObject* b; @@ -96,7 +96,7 @@ endpointInfoDatagram(EndpointInfoObject* self) extern "C" #endif static PyObject* -endpointInfoSecure(EndpointInfoObject* self) +endpointInfoSecure(EndpointInfoObject* self, PyObject* /*args*/) { assert(self->endpointInfo); PyObject* b; @@ -118,7 +118,7 @@ endpointInfoSecure(EndpointInfoObject* self) extern "C" #endif static PyObject* -endpointInfoGetUnderlying(EndpointInfoObject* self) +endpointInfoGetUnderlying(EndpointInfoObject* self, PyObject* /*args*/) { return createEndpointInfo((*self->endpointInfo)->underlying); } @@ -127,7 +127,7 @@ endpointInfoGetUnderlying(EndpointInfoObject* self) extern "C" #endif static PyObject* -endpointInfoGetTimeout(EndpointInfoObject* self) +endpointInfoGetTimeout(EndpointInfoObject* self, PyObject* /*args*/) { return PyLong_FromLong((*self->endpointInfo)->timeout); } @@ -136,7 +136,7 @@ endpointInfoGetTimeout(EndpointInfoObject* self) extern "C" #endif static PyObject* -endpointInfoGetCompress(EndpointInfoObject* self) +endpointInfoGetCompress(EndpointInfoObject* self, PyObject* /*args*/) { return (*self->endpointInfo)->compress ? incTrue() : incFalse(); } @@ -145,7 +145,7 @@ endpointInfoGetCompress(EndpointInfoObject* self) extern "C" #endif static PyObject* -ipEndpointInfoGetHost(EndpointInfoObject* self) +ipEndpointInfoGetHost(EndpointInfoObject* self, PyObject* /*args*/) { Ice::IPEndpointInfoPtr info = Ice::IPEndpointInfoPtr::dynamicCast(*self->endpointInfo); assert(info); @@ -156,7 +156,7 @@ ipEndpointInfoGetHost(EndpointInfoObject* self) extern "C" #endif static PyObject* -ipEndpointInfoGetSourceAddress(EndpointInfoObject* self) +ipEndpointInfoGetSourceAddress(EndpointInfoObject* self, PyObject* /*args*/) { Ice::IPEndpointInfoPtr info = Ice::IPEndpointInfoPtr::dynamicCast(*self->endpointInfo); assert(info); @@ -167,7 +167,7 @@ ipEndpointInfoGetSourceAddress(EndpointInfoObject* self) extern "C" #endif static PyObject* -ipEndpointInfoGetPort(EndpointInfoObject* self) +ipEndpointInfoGetPort(EndpointInfoObject* self, PyObject* /*args*/) { Ice::IPEndpointInfoPtr info = Ice::IPEndpointInfoPtr::dynamicCast(*self->endpointInfo); assert(info); @@ -178,7 +178,7 @@ ipEndpointInfoGetPort(EndpointInfoObject* self) extern "C" #endif static PyObject* -udpEndpointInfoGetMcastInterface(EndpointInfoObject* self) +udpEndpointInfoGetMcastInterface(EndpointInfoObject* self, PyObject* /*args*/) { Ice::UDPEndpointInfoPtr info = Ice::UDPEndpointInfoPtr::dynamicCast(*self->endpointInfo); assert(info); @@ -189,7 +189,7 @@ udpEndpointInfoGetMcastInterface(EndpointInfoObject* self) extern "C" #endif static PyObject* -udpEndpointInfoGetMcastTtl(EndpointInfoObject* self) +udpEndpointInfoGetMcastTtl(EndpointInfoObject* self, PyObject* /*args*/) { Ice::UDPEndpointInfoPtr info = Ice::UDPEndpointInfoPtr::dynamicCast(*self->endpointInfo); assert(info); @@ -200,7 +200,7 @@ udpEndpointInfoGetMcastTtl(EndpointInfoObject* self) extern "C" #endif static PyObject* -wsEndpointInfoGetResource(EndpointInfoObject* self) +wsEndpointInfoGetResource(EndpointInfoObject* self, PyObject* /*args*/) { Ice::WSEndpointInfoPtr info = Ice::WSEndpointInfoPtr::dynamicCast(*self->endpointInfo); assert(info); @@ -211,7 +211,7 @@ wsEndpointInfoGetResource(EndpointInfoObject* self) extern "C" #endif static PyObject* -opaqueEndpointInfoGetRawBytes(EndpointInfoObject* self) +opaqueEndpointInfoGetRawBytes(EndpointInfoObject* self, PyObject* /*args*/) { Ice::OpaqueEndpointInfoPtr info = Ice::OpaqueEndpointInfoPtr::dynamicCast(*self->endpointInfo); assert(info); @@ -228,7 +228,7 @@ opaqueEndpointInfoGetRawBytes(EndpointInfoObject* self) extern "C" #endif static PyObject* -opaqueEndpointInfoGetRawEncoding(EndpointInfoObject* self) +opaqueEndpointInfoGetRawEncoding(EndpointInfoObject* self, PyObject* /*args*/) { Ice::OpaqueEndpointInfoPtr info = Ice::OpaqueEndpointInfoPtr::dynamicCast(*self->endpointInfo); assert(info); |