summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'py/modules/IcePy/Util.cpp')
-rw-r--r--py/modules/IcePy/Util.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/py/modules/IcePy/Util.cpp b/py/modules/IcePy/Util.cpp
index c55c4a20928..fffbd8002bc 100644
--- a/py/modules/IcePy/Util.cpp
+++ b/py/modules/IcePy/Util.cpp
@@ -12,7 +12,6 @@
#endif
#include <Util.h>
#include <IceUtil/DisableWarnings.h>
-#include <Ice/IdentityUtil.h>
#include <Ice/LocalException.h>
#include <IceUtil/UUID.h>
#include <Slice/PythonUtil.h>
@@ -885,60 +884,6 @@ IcePy_version(PyObject* /*self*/)
extern "C"
PyObject*
-IcePy_identityToString(PyObject* /*self*/, PyObject* args)
-{
- PyObject* identityType = IcePy::lookupType("Ice.Identity");
- PyObject* p;
- if(!PyArg_ParseTuple(args, STRCAST("O!"), identityType, &p))
- {
- return 0;
- }
-
- Ice::Identity id;
- if(!IcePy::getIdentity(p, id))
- {
- return 0;
- }
-
- string s;
- try
- {
- s = Ice::identityToString(id);
- }
- catch(const Ice::Exception& ex)
- {
- IcePy::setPythonException(ex);
- return 0;
- }
- return IcePy::createString(s);
-}
-
-extern "C"
-PyObject*
-IcePy_stringToIdentity(PyObject* /*self*/, PyObject* args)
-{
- char* str;
- if(!PyArg_ParseTuple(args, STRCAST("s"), &str))
- {
- return 0;
- }
-
- Ice::Identity id;
- try
- {
- id = Ice::stringToIdentity(str);
- }
- catch(const Ice::Exception& ex)
- {
- IcePy::setPythonException(ex);
- return 0;
- }
-
- return IcePy::createIdentity(id);
-}
-
-extern "C"
-PyObject*
IcePy_generateUUID(PyObject* /*self*/)
{
string uuid = IceUtil::generateUUID();