summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Init.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-03-01 14:33:27 +0100
committerJose <jose@zeroc.com>2016-03-01 14:33:27 +0100
commite283494c906ffac2be14f38422934921ea6ae307 (patch)
treec4b9274845482abd89f84555675d8486a41a71e3 /python/modules/IcePy/Init.cpp
parentRework previous fix for 3.6 compatibility (diff)
downloadice-e283494c906ffac2be14f38422934921ea6ae307.tar.bz2
ice-e283494c906ffac2be14f38422934921ea6ae307.tar.xz
ice-e283494c906ffac2be14f38422934921ea6ae307.zip
Ice::identityToString/Ice::stringToIdentity php/ruby/python implementations
Diffstat (limited to 'python/modules/IcePy/Init.cpp')
-rw-r--r--python/modules/IcePy/Init.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/modules/IcePy/Init.cpp b/python/modules/IcePy/Init.cpp
index 0a594104b61..4494d7f11b8 100644
--- a/python/modules/IcePy/Init.cpp
+++ b/python/modules/IcePy/Init.cpp
@@ -57,6 +57,10 @@ static PyMethodDef methods[] =
PyDoc_STR(STRCAST("generateUUID() -> string")) },
{ STRCAST("createProperties"), reinterpret_cast<PyCFunction>(IcePy_createProperties), METH_VARARGS,
PyDoc_STR(STRCAST("createProperties([args]) -> Ice.Properties")) },
+ { STRCAST("stringToIdentity"), reinterpret_cast<PyCFunction>(IcePy_stringToIdentity), METH_O,
+ PyDoc_STR(STRCAST("stringToIdentity(string) -> Ice.Identity")) },
+ { STRCAST("identityToString"), reinterpret_cast<PyCFunction>(IcePy_identityToString), METH_O,
+ PyDoc_STR(STRCAST("identityToString(Ice.Identity) -> string")) },
{ STRCAST("getProcessLogger"), reinterpret_cast<PyCFunction>(IcePy_getProcessLogger), METH_NOARGS,
PyDoc_STR(STRCAST("getProcessLogger() -> Ice.Logger")) },
{ STRCAST("setProcessLogger"), reinterpret_cast<PyCFunction>(IcePy_setProcessLogger), METH_VARARGS,