summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Proxy.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-02-15 14:10:15 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-02-15 14:10:15 +0000
commit3d9b3917917c9a243d03e90c31da14b5102d65fc (patch)
tree90ed0c9acfeb4e427237d24dfd43b06f589d7fe7 /py/modules/IcePy/Proxy.cpp
parentDeprecate Proxy::ice_defaultContext() (diff)
downloadice-3d9b3917917c9a243d03e90c31da14b5102d65fc.tar.bz2
ice-3d9b3917917c9a243d03e90c31da14b5102d65fc.tar.xz
ice-3d9b3917917c9a243d03e90c31da14b5102d65fc.zip
Deprecate Proxy::ice_defaultContext
Diffstat (limited to 'py/modules/IcePy/Proxy.cpp')
-rw-r--r--py/modules/IcePy/Proxy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/modules/IcePy/Proxy.cpp b/py/modules/IcePy/Proxy.cpp
index ee869aa18a4..45e726f194e 100644
--- a/py/modules/IcePy/Proxy.cpp
+++ b/py/modules/IcePy/Proxy.cpp
@@ -521,6 +521,7 @@ extern "C"
static PyObject*
proxyIceDefaultContext(ProxyObject* self)
{
+ PyErr_Warn(PyExc_DeprecationWarning, STRCAST("ice_defaultContext is deprecated."));
assert(self->proxy);
Ice::ObjectPrx newProxy;