summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Operation.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2012-09-25 22:35:10 +0000
committerBernard Normier <bernard@zeroc.com>2012-09-25 22:35:10 +0000
commit4a55d7d891bad0b123ebdb7e253740f4d1b4b2eb (patch)
treef4a631d7a152edfb86a70a3841e2b136fbaf904f /py/modules/IcePy/Operation.cpp
parentRuby port; Python & C++ fixes (diff)
downloadice-4a55d7d891bad0b123ebdb7e253740f4d1b4b2eb.tar.bz2
ice-4a55d7d891bad0b123ebdb7e253740f4d1b4b2eb.tar.xz
ice-4a55d7d891bad0b123ebdb7e253740f4d1b4b2eb.zip
Renamings (ICE-4868):
- StreamTrait is now StreamableTraits - StreamTraitType is now StreamHelperCategory - OptionalType is now OptionalFormat - Ice/StreamTraits.h is now Ice/StreamHelpers.h Updated C++, Python and Ruby Updated .depend and .depend.mak in C++, Python, Ruby and PHP
Diffstat (limited to 'py/modules/IcePy/Operation.cpp')
-rw-r--r--py/modules/IcePy/Operation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/modules/IcePy/Operation.cpp b/py/modules/IcePy/Operation.cpp
index 4e3e16115f4..0729be07898 100644
--- a/py/modules/IcePy/Operation.cpp
+++ b/py/modules/IcePy/Operation.cpp
@@ -1549,7 +1549,7 @@ IcePy::TypedInvocation::prepareRequest(PyObject* args, MappingType mapping, vect
{
ParamInfoPtr info = *p;
PyObject* arg = PyTuple_GET_ITEM(args, info->pos);
- if(arg != Unset && os->writeOptional(info->tag, info->type->optionalType()))
+ if(arg != Unset && os->writeOptional(info->tag, info->type->optionalFormat()))
{
info->type->marshal(arg, os, &objectMap, true, &info->metaData);
}
@@ -1628,7 +1628,7 @@ IcePy::TypedInvocation::unmarshalResults(const pair<const Ice::Byte*, const Ice:
for(p = _op->optionalOutParams.begin(); p != _op->optionalOutParams.end(); ++p)
{
ParamInfoPtr info = *p;
- if(is->readOptional(info->tag, info->type->optionalType()))
+ if(is->readOptional(info->tag, info->type->optionalFormat()))
{
void* closure = reinterpret_cast<void*>(info->pos);
info->type->unmarshal(is, info, results.get(), closure, true, &info->metaData);
@@ -3240,7 +3240,7 @@ IcePy::TypedUpcall::dispatch(PyObject* servant, const pair<const Ice::Byte*, con
for(p = _op->optionalInParams.begin(); p != _op->optionalInParams.end(); ++p)
{
ParamInfoPtr info = *p;
- if(is->readOptional(info->tag, info->type->optionalType()))
+ if(is->readOptional(info->tag, info->type->optionalFormat()))
{
void* closure = reinterpret_cast<void*>(info->pos + offset);
info->type->unmarshal(is, info, args.get(), closure, true, &info->metaData);
@@ -3452,7 +3452,7 @@ IcePy::TypedUpcall::response(PyObject* args, const Ice::EncodingVersion& encodin
{
ParamInfoPtr info = *p;
PyObject* arg = PyTuple_GET_ITEM(t.get(), info->pos);
- if(arg != Unset && os->writeOptional(info->tag, info->type->optionalType()))
+ if(arg != Unset && os->writeOptional(info->tag, info->type->optionalFormat()))
{
info->type->marshal(arg, os, &objectMap, true, &info->metaData);
}