summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Init.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-09-07 18:09:34 +0000
committerMark Spruiell <mes@zeroc.com>2004-09-07 18:09:34 +0000
commite02918bf965996710ed9ce4cf189f47fb2650180 (patch)
tree517aeb0c724dbe5fd7ac05a17257605e1bd5e274 /py/modules/IcePy/Init.cpp
parentpass the all flag to generate() (diff)
downloadice-e02918bf965996710ed9ce4cf189f47fb2650180.tar.bz2
ice-e02918bf965996710ed9ce4cf189f47fb2650180.tar.xz
ice-e02918bf965996710ed9ce4cf189f47fb2650180.zip
accept args to createProperties
Diffstat (limited to 'py/modules/IcePy/Init.cpp')
-rw-r--r--py/modules/IcePy/Init.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/py/modules/IcePy/Init.cpp b/py/modules/IcePy/Init.cpp
index 73b9fcccc56..9aef8916c31 100644
--- a/py/modules/IcePy/Init.cpp
+++ b/py/modules/IcePy/Init.cpp
@@ -9,7 +9,6 @@
#include <Communicator.h>
#include <Current.h>
-#include <Identity.h>
#include <ObjectAdapter.h>
#include <Properties.h>
#include <Proxy.h>
@@ -29,8 +28,8 @@ static PyMethodDef methods[] =
PyDoc_STR("identityToString(id) -> string") },
{ "stringToIdentity", (PyCFunction)Ice_stringToIdentity, METH_VARARGS,
PyDoc_STR("stringToIdentity(str) -> Ice.Identity") },
- { "createProperties", (PyCFunction)Ice_createProperties, METH_NOARGS,
- PyDoc_STR("createProperties() -> Ice.Properties") },
+ { "createProperties", (PyCFunction)Ice_createProperties, METH_VARARGS,
+ PyDoc_STR("createProperties([args]) -> Ice.Properties") },
{ "getDefaultProperties", (PyCFunction)Ice_getDefaultProperties, METH_VARARGS,
PyDoc_STR("getDefaultProperties([args]) -> Ice.Properties") },
{ "defineEnum", (PyCFunction)Ice_defineEnum, METH_VARARGS,