Salome HOME
Merge for Michael. BR_WIN_INDUS
authorageay <ageay>
Mon, 17 May 2010 13:56:24 +0000 (13:56 +0000)
committerageay <ageay>
Mon, 17 May 2010 13:56:24 +0000 (13:56 +0000)
scripts/parse3.awk

index 59d889412ddf357b45f811d913a54da1a3a7fd4b..8d3107dc62b8b7b7e306cf8f139827fa1cd417cf 100644 (file)
@@ -179,7 +179,8 @@ BEGIN {
 #  cpp_impl_a["const std::vector<int>&"]="\tlong _%s_size;\n\tint *_%s_value = ReceiverFactory::getValue(%s,_%s_size);\n"\
 #             "\tstd::vector<int> _%s(_%s_value,_%s_value+_%s_size);\n\tdelete [] _%s_value;"
   cpp_impl_a["std::vector<int>*&"]="\tstd::vector<int>* _%s;\n"
-  cpp_impl_a["const ParaMEDMEM::MEDCouplingFieldDouble*"]="\tParaMEDMEM::MEDCouplingFieldDouble* _%s=ParaMEDMEM::MEDCouplingFieldDoubleClient::New(%s);\n"
+  cpp_impl_a["const ParaMEDMEM::MEDCouplingFieldDouble*"]="\tSALOME_MED::MEDCouplingFieldDoubleCorbaInterface::_duplicate(%s);\n"\
+            "\tParaMEDMEM::MEDCouplingFieldDouble* _%s=ParaMEDMEM::MEDCouplingFieldDoubleClient::New(%s);\n"
 #
 #
 # table for c++ code generation : returned value processing