summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/modules/IcePy/Operation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/modules/IcePy/Operation.cpp b/py/modules/IcePy/Operation.cpp
index b575cce2626..b30d70c0e5f 100644
--- a/py/modules/IcePy/Operation.cpp
+++ b/py/modules/IcePy/Operation.cpp
@@ -1602,7 +1602,7 @@ IcePy::TypedInvocation::unmarshalResults(const pair<const Ice::Byte*, const Ice:
PyObjectHandle results = PyTuple_New(numResults);
if(results.get() && numResults > 0)
{
- Ice::InputStreamPtr is = Ice::createInputStream(_communicator, bytes, false);
+ Ice::InputStreamPtr is = Ice::wrapInputStream(_communicator, bytes);
//
// Store a pointer to a local SlicedDataUtil object as the stream's closure.
@@ -1676,7 +1676,7 @@ IcePy::TypedInvocation::unmarshalResults(const pair<const Ice::Byte*, const Ice:
PyObject*
IcePy::TypedInvocation::unmarshalException(const pair<const Ice::Byte*, const Ice::Byte*>& bytes)
{
- Ice::InputStreamPtr is = Ice::createInputStream(_communicator, bytes, false);
+ Ice::InputStreamPtr is = Ice::wrapInputStream(_communicator, bytes);
//
// Store a pointer to a local SlicedDataUtil object as the stream's closure.
@@ -3227,7 +3227,7 @@ IcePy::TypedUpcall::dispatch(PyObject* servant, const pair<const Ice::Byte*, con
if(!_op->inParams.empty())
{
- Ice::InputStreamPtr is = Ice::createInputStream(_communicator, inBytes, false);
+ Ice::InputStreamPtr is = Ice::wrapInputStream(_communicator, inBytes);
//
// Store a pointer to a local SlicedDataUtil object as the stream's closure.