summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Util.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2008-01-31 19:05:51 -0800
committerMark Spruiell <mes@zeroc.com>2008-01-31 19:05:51 -0800
commit2c3770915174ad6f358b4ab82848f99bf464cb76 (patch)
tree14ed55dabd722e1f8e8b917c1be4de104d2b8f05 /py/modules/IcePy/Util.cpp
parentC# bug fix in Stream.cs (diff)
downloadice-2c3770915174ad6f358b4ab82848f99bf464cb76.tar.bz2
ice-2c3770915174ad6f358b4ab82848f99bf464cb76.tar.xz
ice-2c3770915174ad6f358b4ab82848f99bf464cb76.zip
bug 2264 - remove deprecated APIs
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();