diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-30 04:31:22 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-30 04:31:22 +0000 |
commit | 43a706b4060a33be3a8139c10660613875cb737f (patch) | |
tree | 9f02216ea2a0aaf7c1404e4f48dcc9e18cf151a6 /TAO/Benchmark | |
parent | 49e4e68f409093cd16e733ce7f851578d24dd610 (diff) | |
download | ATCD-43a706b4060a33be3a8139c10660613875cb737f.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/Benchmark')
-rw-r--r-- | TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp | 30 | ||||
-rw-r--r-- | TAO/Benchmark/Marshal_Test/TAO/marshalC.h | 2 | ||||
-rw-r--r-- | TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp | 8 | ||||
-rw-r--r-- | TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp | 42 | ||||
-rw-r--r-- | TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp | 24 |
5 files changed, 53 insertions, 53 deletions
diff --git a/TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp b/TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp index dbef556e5b3..ca6b04d3d15 100644 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp +++ b/TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp @@ -100,7 +100,7 @@ Marshal::Marshal_Union& Marshal::Marshal_Union::operator=(const Marshal::Marshal Marshal::AnySeq::AnySeq (CORBA_ULong max) : _maximum(max), _length(0), - _release(CORBA_B_FALSE) + _release(0) { if (this->_maximum > 0){ this->_buffer = new CORBA_Any [this->_maximum]; @@ -121,7 +121,7 @@ Marshal::AnySeq::AnySeq (CORBA_ULong max, CORBA_ULong length, Marshal::AnySeq::~AnySeq() { this->_maximum = this->_length = 0; - if (this->_release != CORBA_B_FALSE) + if (this->_release != 0) delete this->_buffer; } @@ -200,7 +200,7 @@ static const CORBA_Long _oc_Marshal_Struct [] = { static CORBA_TypeCode _tc__tc_Marshal_Struct (tk_struct, sizeof _oc_Marshal_Struct, (unsigned char *) &_oc_Marshal_Struct, - CORBA_B_FALSE); + 0); CORBA_TypeCode_ptr Marshal::_tc_Marshal_Struct = &_tc__tc_Marshal_Struct; @@ -222,7 +222,7 @@ static const CORBA_Long _oc_discrim [] = { static CORBA_TypeCode _tc__tc_discrim (tk_enum, sizeof _oc_discrim, (unsigned char *) &_oc_discrim, - CORBA_B_FALSE); + 0); CORBA_TypeCode_ptr Marshal::_tc_discrim = &_tc__tc_discrim; @@ -321,7 +321,7 @@ static const CORBA_Long _oc_Marshal_Union [] = static CORBA_TypeCode _tc__tc_Marshal_Union (tk_union, sizeof _oc_Marshal_Union, (unsigned char *) &_oc_Marshal_Union, - CORBA_B_FALSE); + 0); CORBA_TypeCode_ptr Marshal::_tc_Marshal_Union = &_tc__tc_Marshal_Union; @@ -336,7 +336,7 @@ static CORBA_TypeCode _tc__tc_AnySeq (tk_sequence, _oc_AnySeq, (unsigned char *) &_oc_AnySeq, - CORBA_B_FALSE); + 0); CORBA_TypeCode_ptr Marshal::_tc_AnySeq = &_tc__tc_AnySeq; @@ -350,7 +350,7 @@ static const TAO_Param_Data marshal_test_short_paramdata [] = { static const TAO_Call_Data marshal_test_short_calldata = { "test_short", // op_name - CORBA_B_TRUE, // twoway, although it returns void + 1, // twoway, although it returns void 3, // param count & marshal_test_short_paramdata [0], // 0, 0 @@ -377,7 +377,7 @@ static const TAO_Param_Data marshal_test_long_paramdata [] = { static const TAO_Call_Data marshal_test_long_calldata = { "test_long", // op_name - CORBA_B_TRUE, // twoway, although it returns void + 1, // twoway, although it returns void 3, // param count & marshal_test_long_paramdata [0], // 0, 0 @@ -404,7 +404,7 @@ static const TAO_Param_Data marshal_test_octet_paramdata [] = { static const TAO_Call_Data marshal_test_octet_calldata = { "test_octet", // op_name - CORBA_B_TRUE, // twoway, although it returns void + 1, // twoway, although it returns void 3, // param count & marshal_test_octet_paramdata [0], // 0, 0 @@ -431,7 +431,7 @@ static const TAO_Param_Data marshal_test_char_paramdata [] = { static const TAO_Call_Data marshal_test_char_calldata = { "test_char", // op_name - CORBA_B_TRUE, // twoway, although it returns void + 1, // twoway, although it returns void 3, // param count & marshal_test_char_paramdata [0], // 0, 0 @@ -458,7 +458,7 @@ static const TAO_Param_Data marshal_test_double_paramdata [] = { static const TAO_Call_Data marshal_test_double_calldata = { "test_double", // op_name - CORBA_B_TRUE, // twoway, although it returns void + 1, // twoway, although it returns void 3, // param count & marshal_test_double_paramdata [0], // 0, 0 @@ -485,7 +485,7 @@ static const TAO_Param_Data marshal_test_struct_paramdata [] = { static const TAO_Call_Data marshal_test_struct_calldata = { "test_struct", // op_name - CORBA_B_TRUE, // twoway, although it returns void + 1, // twoway, although it returns void 3, // param count & marshal_test_struct_paramdata [0], // 0, 0 @@ -513,7 +513,7 @@ static const TAO_Param_Data marshal_test_union_paramdata [] = { static const TAO_Call_Data marshal_test_union_calldata = { "test_union", // op_name - CORBA_B_TRUE, // twoway, although it returns void + 1, // twoway, although it returns void 3, // param count & marshal_test_union_paramdata [0], // 0, 0 @@ -541,7 +541,7 @@ static const TAO_Param_Data marshal_test_any_paramdata [] = { static const TAO_Call_Data marshal_test_any_calldata = { "test_any", // op_name - CORBA_B_TRUE, // twoway, although it returns void + 1, // twoway, although it returns void 3, // param count & marshal_test_any_paramdata[0], // 0, 0 @@ -568,7 +568,7 @@ static const TAO_Param_Data marshal_test_sequence_paramdata [] = { static const TAO_Call_Data marshal_test_sequence_calldata = { "test_sequence", // opname - CORBA_B_TRUE, // twoway + 1, // twoway 2, // param count &marshal_test_sequence_paramdata [0], 0, 0 diff --git a/TAO/Benchmark/Marshal_Test/TAO/marshalC.h b/TAO/Benchmark/Marshal_Test/TAO/marshalC.h index d45d3cf0611..0831bd7f2b6 100644 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalC.h +++ b/TAO/Benchmark/Marshal_Test/TAO/marshalC.h @@ -118,7 +118,7 @@ public: AnySeq (CORBA_ULong max, CORBA_ULong length, CORBA_Any *value, - CORBA_Boolean release = CORBA_B_FALSE + CORBA_Boolean release = 0 ); // AnySeq (const AnySeq&); ~AnySeq (); diff --git a/TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp b/TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp index a13e4881d2c..79d20c6f21f 100644 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp +++ b/TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp @@ -74,7 +74,7 @@ void _skel_Marshal::_Marshal_test_short_skel(CORBA_ServerRequest &req, impl->sendShortSeq(*value, env); // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); req.result(any, env); #endif @@ -159,12 +159,12 @@ void _skel_Marshal::_Marshal_is_a_skel ( cout << "object id = " << ((char *)value) << endl; if (strcmp ((char *)value, (char *)type_id) == 0 || strcmp ((char *)value, _tc_CORBA_Object->id(env)) == 0) - retval = new CORBA_Boolean (CORBA_B_TRUE); + retval = new CORBA_Boolean (1); else - retval = new CORBA_Boolean (CORBA_B_FALSE); + retval = new CORBA_Boolean (0); CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Boolean, retval, CORBA_B_TRUE); + new CORBA_Any (_tc_CORBA_Boolean, retval, 1); req.result (any, env); dexc (env, "_is_a, result"); diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp index 93e1d0360cd..a48959e2200 100644 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp +++ b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp @@ -694,13 +694,13 @@ Tao_Marshal_Client_Proxy::dii_test_short (CORBA_Marshal_Proxy::OPTIONS &options, orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add (CORBA_ARG_IN)->value ()) <<= s1; - arglist->add_value ("s1", CORBA_Any (_tc_CORBA_Short, &s1, CORBA_B_FALSE), + arglist->add_value ("s1", CORBA_Any (_tc_CORBA_Short, &s1, 0), CORBA_ARG_IN, env); // this usage is also correct. All we care is to supply a storage area for // the OUT parameter // arglist->add (CORBA_ARG_OUT)->value ()->replace (CORBA__tc_short, &s2); // *(arglist->add (CORBA_ARG_OUT)->value ()) <<= s2; - arglist->add_value ("s2", CORBA_Any (_tc_CORBA_Short, &s2, CORBA_B_FALSE), + arglist->add_value ("s2", CORBA_Any (_tc_CORBA_Short, &s2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item (0); @@ -749,10 +749,10 @@ Tao_Marshal_Client_Proxy::dii_test_long (CORBA_Marshal_Proxy::OPTIONS &options, orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= l1; - arglist->add_value ("l1", CORBA_Any (_tc_CORBA_Long, &l1, CORBA_B_FALSE), + arglist->add_value ("l1", CORBA_Any (_tc_CORBA_Long, &l1, 0), CORBA_ARG_IN, env); // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_long, &l2); - arglist->add_value ("l2", CORBA_Any (_tc_CORBA_Long, &l2, CORBA_B_FALSE), + arglist->add_value ("l2", CORBA_Any (_tc_CORBA_Long, &l2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); @@ -803,9 +803,9 @@ Tao_Marshal_Client_Proxy::dii_test_octet (CORBA_Marshal_Proxy::OPTIONS &options, orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= CORBA_Any::from_octet (o1); // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_octet, &o2); - arglist->add_value ("o1", CORBA_Any (_tc_CORBA_Octet, &o1, CORBA_B_FALSE), + arglist->add_value ("o1", CORBA_Any (_tc_CORBA_Octet, &o1, 0), CORBA_ARG_IN, env); - arglist->add_value ("o2", CORBA_Any (_tc_CORBA_Octet, &o2, CORBA_B_FALSE), + arglist->add_value ("o2", CORBA_Any (_tc_CORBA_Octet, &o2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); @@ -856,9 +856,9 @@ Tao_Marshal_Client_Proxy::dii_test_char (CORBA_Marshal_Proxy::OPTIONS &options, orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= CORBA_Any::from_char (c1); // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_char, &c2); - arglist->add_value ("c1", CORBA_Any (_tc_CORBA_Char, &c1, CORBA_B_FALSE), + arglist->add_value ("c1", CORBA_Any (_tc_CORBA_Char, &c1, 0), CORBA_ARG_IN, env); - arglist->add_value ("c2", CORBA_Any (_tc_CORBA_Char, &c2, CORBA_B_FALSE), + arglist->add_value ("c2", CORBA_Any (_tc_CORBA_Char, &c2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); @@ -909,9 +909,9 @@ Tao_Marshal_Client_Proxy::dii_test_double (CORBA_Marshal_Proxy::OPTIONS &options orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= d1; // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_double, &d2); - arglist->add_value ("d1", CORBA_Any (_tc_CORBA_Double, &d1, CORBA_B_FALSE), + arglist->add_value ("d1", CORBA_Any (_tc_CORBA_Double, &d1, 0), CORBA_ARG_IN, env); - arglist->add_value ("d2", CORBA_Any (_tc_CORBA_Double, &d2, CORBA_B_FALSE), + arglist->add_value ("d2", CORBA_Any (_tc_CORBA_Double, &d2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); @@ -966,9 +966,9 @@ Tao_Marshal_Client_Proxy::dii_test_struct (CORBA_Marshal_Proxy::OPTIONS &options orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= ms1; // arglist->add(CORBA_ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Struct, &ms2); - arglist->add_value ("ms1", CORBA_Any (Marshal::_tc_Marshal_Struct, &ms1, CORBA_B_FALSE), + arglist->add_value ("ms1", CORBA_Any (Marshal::_tc_Marshal_Struct, &ms1, 0), CORBA_ARG_IN, env); - arglist->add_value ("ms2", CORBA_Any (Marshal::_tc_Marshal_Struct, &ms2, CORBA_B_FALSE), + arglist->add_value ("ms2", CORBA_Any (Marshal::_tc_Marshal_Struct, &ms2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); @@ -1024,9 +1024,9 @@ Tao_Marshal_Client_Proxy::dii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= u1; // arglist->add(CORBA_ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Union, &u2); - arglist->add_value ("u1", CORBA_Any (Marshal::_tc_Marshal_Union, &u1, CORBA_B_FALSE), + arglist->add_value ("u1", CORBA_Any (Marshal::_tc_Marshal_Union, &u1, 0), CORBA_ARG_IN, env); - arglist->add_value ("u2", CORBA_Any (Marshal::_tc_Marshal_Union, &u2, CORBA_B_FALSE), + arglist->add_value ("u2", CORBA_Any (Marshal::_tc_Marshal_Union, &u2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); @@ -1069,9 +1069,9 @@ Tao_Marshal_Client_Proxy::dii_test_union (CORBA_Marshal_Proxy::OPTIONS &options, orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= u1; //arglist->add(CORBA_ARG_OUT)->value()->replace (Marshal::_tc_Marshal_Union, &u2); - arglist->add_value ("u1", CORBA_Any (Marshal::_tc_Marshal_Union, &u1, CORBA_B_FALSE), + arglist->add_value ("u1", CORBA_Any (Marshal::_tc_Marshal_Union, &u1, 0), CORBA_ARG_IN, env); - arglist->add_value ("u2", CORBA_Any (Marshal::_tc_Marshal_Union, &u2, CORBA_B_FALSE), + arglist->add_value ("u2", CORBA_Any (Marshal::_tc_Marshal_Union, &u2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); @@ -1127,7 +1127,7 @@ Tao_Marshal_Client_Proxy::dii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, // populate the any with a MarshalStruct // a1 <<= ms1; - a1.replace (Marshal::_tc_Marshal_Struct, &ms1, CORBA_B_FALSE, env); + a1.replace (Marshal::_tc_Marshal_Struct, &ms1, 0, env); a2 = new CORBA_Any; @@ -1135,9 +1135,9 @@ Tao_Marshal_Client_Proxy::dii_test_any (CORBA_Marshal_Proxy::OPTIONS &options, orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= a1; // arglist->add(CORBA_ARG_OUT)->value()->replace (CORBA__tc_any, a2); - arglist->add_value ("a1", CORBA_Any (_tc_CORBA_Any, &a1, CORBA_B_FALSE), + arglist->add_value ("a1", CORBA_Any (_tc_CORBA_Any, &a1, 0), CORBA_ARG_IN, env); - arglist->add_value ("a2", CORBA_Any (_tc_CORBA_Any, a2, CORBA_B_FALSE), + arglist->add_value ("a2", CORBA_Any (_tc_CORBA_Any, a2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); @@ -1239,9 +1239,9 @@ Tao_Marshal_Client_Proxy::dii_test_sequence (CORBA_Marshal_Proxy::OPTIONS &optio orb_->create_list(0, arglist); // 2 arguments to be added // *(arglist->add(CORBA_ARG_IN)->value()) <<= as1; // arglist->add(CORBA_ARG_OUT)->value()->replace (Marshal::_tc_AnySeq, as2); - arglist->add_value ("as1", CORBA_Any (Marshal::_tc_AnySeq, &as1, CORBA_B_FALSE), + arglist->add_value ("as1", CORBA_Any (Marshal::_tc_AnySeq, &as1, 0), CORBA_ARG_IN, env); - arglist->add_value ("o2", CORBA_Any (Marshal::_tc_AnySeq, as2, CORBA_B_FALSE), + arglist->add_value ("o2", CORBA_Any (Marshal::_tc_AnySeq, as2, 0), CORBA_ARG_OUT, env); orb_->create_list(1, result_list); // 1 result result = result_list->item(0); diff --git a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp index 5db657f60fd..60a6f42eac6 100644 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp +++ b/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp @@ -227,12 +227,12 @@ void Marshal_DSI_Impl::_Marshal_is_a_skel(CORBA_ServerRequest &req, cout << "object id = " << ((char *)value) << endl; if (strcmp ((char *)value, (char *)type_id) == 0 || strcmp ((char *)value, _tc_CORBA_Object->id(env)) == 0) - retval = new CORBA_Boolean (CORBA_B_TRUE); + retval = new CORBA_Boolean (1); else - retval = new CORBA_Boolean (CORBA_B_FALSE); + retval = new CORBA_Boolean (0); CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Boolean, retval, CORBA_B_TRUE); + new CORBA_Any (_tc_CORBA_Boolean, retval, 1); req.result (any, env); dexc (env, "_is_a, result"); @@ -267,7 +267,7 @@ void Marshal_DSI_Impl::_Marshal_test_short_skel(CORBA_ServerRequest &req, nv2->value ()->replace (_tc_CORBA_Short, &s2, 0, env); // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); req.result(any, env); } @@ -300,7 +300,7 @@ void Marshal_DSI_Impl::_Marshal_test_long_skel(CORBA_ServerRequest &req, nv2->value ()->replace (_tc_CORBA_Long, &l2, 0, env); // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); req.result(any, env); } @@ -333,7 +333,7 @@ void Marshal_DSI_Impl::_Marshal_test_octet_skel(CORBA_ServerRequest &req, nv2->value ()->replace (_tc_CORBA_Octet, &o2, 0, env); // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); req.result(any, env); } @@ -366,7 +366,7 @@ void Marshal_DSI_Impl::_Marshal_test_char_skel(CORBA_ServerRequest &req, nv2->value ()->replace (_tc_CORBA_Char, &c2, 0, env); // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); req.result(any, env); } @@ -399,7 +399,7 @@ void Marshal_DSI_Impl::_Marshal_test_double_skel(CORBA_ServerRequest &req, nv2->value ()->replace (_tc_CORBA_Double, &d2, 0, env); // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); req.result(any, env); } @@ -439,7 +439,7 @@ void Marshal_DSI_Impl::_Marshal_test_struct_skel(CORBA_ServerRequest &req, nv2->value ()->replace (Marshal::_tc_Marshal_Struct, ms2, 1, env); // result - NO result - // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); // req.result(any, env); } @@ -473,7 +473,7 @@ void Marshal_DSI_Impl::_Marshal_test_union_skel(CORBA_ServerRequest &req, nv2->value ()->replace (Marshal::_tc_Marshal_Union, u2, 0, env); // result - NO result - // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); // req.result(any, env); } @@ -506,7 +506,7 @@ void Marshal_DSI_Impl::_Marshal_test_any_skel(CORBA_ServerRequest &req, nv2->value ()->replace (_tc_CORBA_Any, a2, 1, env); // result - NO result - // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); // req.result(any, env); } @@ -539,7 +539,7 @@ void Marshal_DSI_Impl::_Marshal_test_sequence_skel(CORBA_ServerRequest &req, nv2->value ()->replace (Marshal::_tc_AnySeq, as2, 1, env); // result - NO result - // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); + // CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, 1); // req.result(any, env); } |