]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
Merge from V5_1_main 10/06/2010 V6_1_BR TRIPOLI_302 TRIPOLI_303 V6_1_0 V6_1_0a1 V6_1_0a2 V6_1_0rc1 V6_1_0rc2 V6_1_0rc3
authorvsr <vsr@opencascade.com>
Thu, 10 Jun 2010 11:01:47 +0000 (11:01 +0000)
committervsr <vsr@opencascade.com>
Thu, 10 Jun 2010 11:01:47 +0000 (11:01 +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