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/ImplicitContext.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/ImplicitContext.cpp')
-rw-r--r-- | python/modules/IcePy/ImplicitContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/modules/IcePy/ImplicitContext.cpp b/python/modules/IcePy/ImplicitContext.cpp index ca05e859048..4383e290874 100644 --- a/python/modules/IcePy/ImplicitContext.cpp +++ b/python/modules/IcePy/ImplicitContext.cpp @@ -109,7 +109,7 @@ implicitContextCompare(ImplicitContextObject* c1, PyObject* other, int op) extern "C" #endif static PyObject* -implicitContextGetContext(ImplicitContextObject* self) +implicitContextGetContext(ImplicitContextObject* self, PyObject* /*args*/) { Ice::Context ctx = (*self->implicitContext)->getContext(); @@ -284,7 +284,7 @@ implicitContextRemove(ImplicitContextObject* self, PyObject* args) static PyMethodDef ImplicitContextMethods[] = { - { STRCAST("getContext"), reinterpret_cast<PyCFunction>(implicitContextGetContext), METH_VARARGS, + { STRCAST("getContext"), reinterpret_cast<PyCFunction>(implicitContextGetContext), METH_NOARGS, PyDoc_STR(STRCAST("getContext() -> Ice.Context")) }, { STRCAST("setContext"), reinterpret_cast<PyCFunction>(implicitContextSetContext), METH_VARARGS, PyDoc_STR(STRCAST("setContext(ctx) -> string")) }, |