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/Util.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/Util.cpp')
-rw-r--r-- | python/modules/IcePy/Util.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/modules/IcePy/Util.cpp b/python/modules/IcePy/Util.cpp index 077f10be606..6b9729a1ee1 100644 --- a/python/modules/IcePy/Util.cpp +++ b/python/modules/IcePy/Util.cpp @@ -1201,7 +1201,7 @@ IcePy::callMethod(PyObject* method, PyObject* arg1, PyObject* arg2) extern "C" PyObject* -IcePy_stringVersion(PyObject* /*self*/) +IcePy_stringVersion(PyObject* /*self*/, PyObject* /*args*/) { string s = ICE_STRING_VERSION; return IcePy::createString(s); @@ -1209,28 +1209,28 @@ IcePy_stringVersion(PyObject* /*self*/) extern "C" PyObject* -IcePy_intVersion(PyObject* /*self*/) +IcePy_intVersion(PyObject* /*self*/, PyObject* /*args*/) { return PyLong_FromLong(ICE_INT_VERSION); } extern "C" PyObject* -IcePy_currentProtocol(PyObject* /*self*/) +IcePy_currentProtocol(PyObject* /*self*/, PyObject* /*args*/) { return IcePy::createProtocolVersion(Ice::currentProtocol); } extern "C" PyObject* -IcePy_currentProtocolEncoding(PyObject* /*self*/) +IcePy_currentProtocolEncoding(PyObject* /*self*/, PyObject* /*args*/) { return IcePy::createEncodingVersion(Ice::currentProtocolEncoding); } extern "C" PyObject* -IcePy_currentEncoding(PyObject* /*self*/) +IcePy_currentEncoding(PyObject* /*self*/, PyObject* /*args*/) { return IcePy::createEncodingVersion(Ice::currentEncoding); } @@ -1265,7 +1265,7 @@ IcePy_stringToEncodingVersion(PyObject* /*self*/, PyObject* args) extern "C" PyObject* -IcePy_generateUUID(PyObject* /*self*/) +IcePy_generateUUID(PyObject* /*self*/, PyObject* /*args*/) { string uuid = Ice::generateUUID(); return IcePy::createString(uuid); |