summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CsUtil.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2006-08-04 04:30:39 +0000
committerMichi Henning <michi@zeroc.com>2006-08-04 04:30:39 +0000
commit03611ef2af5765896a5db1ad61406d36fefc18bc (patch)
treed2e94178e86eeb9cb226e912e2badbe1bf5555d6 /cpp/src/Slice/CsUtil.cpp
parentFixed bug #1284 (diff)
downloadice-03611ef2af5765896a5db1ad61406d36fefc18bc.tar.bz2
ice-03611ef2af5765896a5db1ad61406d36fefc18bc.tar.xz
ice-03611ef2af5765896a5db1ad61406d36fefc18bc.zip
Bug 1246.
Diffstat (limited to 'cpp/src/Slice/CsUtil.cpp')
-rwxr-xr-xcpp/src/Slice/CsUtil.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Slice/CsUtil.cpp b/cpp/src/Slice/CsUtil.cpp
index 5118fdd0484..40bc0a5e705 100755
--- a/cpp/src/Slice/CsUtil.cpp
+++ b/cpp/src/Slice/CsUtil.cpp
@@ -358,7 +358,7 @@ Slice::CsGenerator::writeMarshalUnmarshalCode(Output &out,
if(isOutParam)
{
out << nl << "IceInternal.ParamPatcher " << param
- << "_PP = new IceInternal.ParamPatcher(typeof(Ice.Object));";
+ << "_PP = new IceInternal.ParamPatcher(typeof(Ice.Object), \"::Ice::Object\");";
out << nl << stream << ".readObject(";
if(streamingAPI)
{
@@ -436,8 +436,9 @@ Slice::CsGenerator::writeMarshalUnmarshalCode(Output &out,
{
if(isOutParam)
{
+ ContainedPtr contained = ContainedPtr::dynamicCast(type);
out << nl << "IceInternal.ParamPatcher " << param
- << "_PP = new IceInternal.ParamPatcher(typeof(" << typeToString(type) << "));";
+ << "_PP = new IceInternal.ParamPatcher(typeof(" << typeToString(type) << "), \"" << contained->scoped() << "\");";
out << nl << stream << ".readObject(";
if(streamingAPI)
{