From e0521b4c1aa27889817f2f9428a2e2a24b75d24d Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 10 Jun 2010 11:01:47 +0000 Subject: [PATCH] Merge from V5_1_main 10/06/2010 --- scripts/parse3.awk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/parse3.awk b/scripts/parse3.awk index 59d8894..8d3107d 100644 --- a/scripts/parse3.awk +++ b/scripts/parse3.awk @@ -179,7 +179,8 @@ BEGIN { # cpp_impl_a["const std::vector&"]="\tlong _%s_size;\n\tint *_%s_value = ReceiverFactory::getValue(%s,_%s_size);\n"\ # "\tstd::vector _%s(_%s_value,_%s_value+_%s_size);\n\tdelete [] _%s_value;" cpp_impl_a["std::vector*&"]="\tstd::vector* _%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 -- 2.39.2