summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_state_argument.cpp
diff options
context:
space:
mode:
authorgokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-16 03:28:13 +0000
committergokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-16 03:28:13 +0000
commit58e79d64e24f4e95b814bf6909c6ae32117e1a3d (patch)
treeed0b0efcad8d5b2a08df419297a3930d922d2158 /TAO/TAO_IDL/be/be_state_argument.cpp
parentfa773e49d35d3320651b5777a8ca5b442c258314 (diff)
downloadATCD-58e79d64e24f4e95b814bf6909c6ae32117e1a3d.tar.gz
typecodes for strings fixed.
CVS: CVS: CVS: CVS:
Diffstat (limited to 'TAO/TAO_IDL/be/be_state_argument.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_state_argument.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/TAO/TAO_IDL/be/be_state_argument.cpp b/TAO/TAO_IDL/be/be_state_argument.cpp
index 7b0df401f2e..6b510fdba6b 100644
--- a/TAO/TAO_IDL/be/be_state_argument.cpp
+++ b/TAO/TAO_IDL/be/be_state_argument.cpp
@@ -92,7 +92,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
";" << nl;
// declare an Any
*os << "CORBA::Any \t any_" << arg->local_name () << " (" <<
- bt->tc_name () << ", " << arg->local_name () <<
+ bt->tc_name () << ", &" << arg->local_name () <<
"); // ORB does not own" << nl;
}
break;
@@ -127,7 +127,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
";" << nl;
// declare an Any
*os << "CORBA::Any \t any_" << arg->local_name () << " (" <<
- bt->tc_name () << ", " << arg->local_name () <<
+ bt->tc_name () << ", &" << arg->local_name () <<
", 1); // ORB owns" << nl;
}
break;
@@ -159,7 +159,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
";" << nl;
// declare an Any
*os << "CORBA::Any \t any_" << arg->local_name () << " (" <<
- bt->tc_name () << ", " << arg->local_name () <<
+ bt->tc_name () << ", &" << arg->local_name () <<
", 1); // ORB owns" << nl;
}
break;
@@ -220,7 +220,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
*os << arg->local_name () << ", ";
}
break;
- case TAO_CodeGen::TAO_ARGUMENT_SH:
+ case TAO_CodeGen::TAO_ARGUMENT_SH:
default:
{
*os << "const " << bt->name () << " &";
@@ -254,7 +254,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
*os << arg->local_name () << ", ";
}
break;
- case TAO_CodeGen::TAO_ARGUMENT_SH:
+ case TAO_CodeGen::TAO_ARGUMENT_SH:
default:
{
*os << bt->name () << " &";
@@ -288,7 +288,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
*os << arg->local_name () << ", ";
}
break;
- case TAO_CodeGen::TAO_ARGUMENT_SH:
+ case TAO_CodeGen::TAO_ARGUMENT_SH:
default:
{
*os << bt->name () << "_out ";
@@ -314,7 +314,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
";" << nl;
// declare an Any
*os << "CORBA::Any \t any_" << arg->local_name () << " (" <<
- bt->tc_name () << ", " << arg->local_name () <<
+ bt->tc_name () << ", &" << arg->local_name () <<
"); // ORB does not own" << nl;
}
break;
@@ -328,7 +328,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
*os << arg->local_name () << ", ";
}
break;
- case TAO_CodeGen::TAO_ARGUMENT_SH:
+ case TAO_CodeGen::TAO_ARGUMENT_SH:
default:
{
*os << bt->name () << "_ptr ";
@@ -362,7 +362,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
*os << arg->local_name () << ", ";
}
break;
- case TAO_CodeGen::TAO_ARGUMENT_SH:
+ case TAO_CodeGen::TAO_ARGUMENT_SH:
default:
{
*os << bt->name () << "_ptr &";
@@ -385,7 +385,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
";" << nl;
// declare an Any
*os << "CORBA::Any \t any_" << arg->local_name () << " (" <<
- bt->tc_name () << ", " << arg->local_name () <<
+ bt->tc_name () << ", &" << arg->local_name () <<
", 1); // ORB owns" << nl;
}
break;
@@ -399,7 +399,7 @@ be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type)
*os << arg->local_name () << "_out, ";
}
break;
- case TAO_CodeGen::TAO_ARGUMENT_SH:
+ case TAO_CodeGen::TAO_ARGUMENT_SH:
default:
{
*os << bt->name () << "_out ";