summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Operation.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-01-24 10:07:46 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-01-24 10:07:46 +0100
commit566ae61db91d991dbaf38d280d285faddddce5a6 (patch)
tree4c014a63f061e29ee753e74d77bad414df801fd5 /py/modules/IcePy/Operation.cpp
parentminor fixes to doc files (diff)
downloadice-566ae61db91d991dbaf38d280d285faddddce5a6.tar.bz2
ice-566ae61db91d991dbaf38d280d285faddddce5a6.tar.xz
ice-566ae61db91d991dbaf38d280d285faddddce5a6.zip
More fixes for ICE-4841 - changed createInputStream with bool parameter to wrapInputStream
Diffstat (limited to 'py/modules/IcePy/Operation.cpp')
-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.