From a2ae53beab95923346d92d8dcd67ca78c2a74ade Mon Sep 17 00:00:00 2001 From: ageay Date: Mon, 17 May 2010 13:56:24 +0000 Subject: [PATCH] Merge for Michael. --- 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