summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1998-10-02 16:36:02 +0000
committergokhale <asgokhale@users.noreply.github.com>1998-10-02 16:36:02 +0000
commitf0a136cad90acf1be417694f37e2a781d8e98ccc (patch)
treec98ad60e37f062453dfa01bdd71e5884f801aa6c
parent722ae9030ca2f69267087f2826bdf80dd9263f41 (diff)
downloadATCD-f0a136cad90acf1be417694f37e2a781d8e98ccc.tar.gz
*** empty log message ***
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp b/TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp
index e02b551ba6c..c1c2f84c67d 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/compiled_marshal.cpp
@@ -315,7 +315,7 @@ int be_visitor_operation_rettype_compiled_marshal::visit_sequence (be_sequence *
if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT)
{
- *os << "_tao_retval";
+ *os << "_tao_retval.in ()";
}
else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT)
{
@@ -376,7 +376,10 @@ int be_visitor_operation_rettype_compiled_marshal::visit_structure (be_structure
if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT)
{
- *os << "_tao_retval";
+ if (node->size_type () == be_decl::VARIABLE)
+ *os << "_tao_retval.in ()";
+ else
+ *os << "_tao_retval";
}
else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT)
{
@@ -402,7 +405,10 @@ int be_visitor_operation_rettype_compiled_marshal::visit_union (be_union *node)
if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_OUTPUT)
{
- *os << "_tao_retval";
+ if (node->size_type () == be_decl::VARIABLE)
+ *os << "_tao_retval.in ()";
+ else
+ *os << "_tao_retval";
}
else if (this->ctx_->sub_state () == TAO_CodeGen::TAO_CDR_INPUT)
{