From: crouzet Date: Mon, 25 Oct 2010 10:16:17 +0000 (+0000) Subject: Modification of CorbaType, Corna_out_type and Corba_rtn_type : X-Git-Tag: V5_1_5rc1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6f99ead49ca63b105ef79c5ceb1364ee36fb093c;p=tools%2Fyacsgen.git Modification of CorbaType, Corna_out_type and Corba_rtn_type : append "_ORB" to the name of module --- diff --git a/module_generator/yacstypes.py b/module_generator/yacstypes.py index 07e33d9..8aa90f1 100644 --- a/module_generator/yacstypes.py +++ b/module_generator/yacstypes.py @@ -46,19 +46,19 @@ corbaRtnTypes = {"double":"CORBA::Double", "long":"CORBA::Long", def corba_in_type(typ, module): if corbaTypes[typ].count("%s")>0: - return corbaTypes[typ] % module + return corbaTypes[typ] % (module+"_ORB") else: return corbaTypes[typ] def corba_out_type(typ, module): if corbaOutTypes[typ].count("%s")>0: - return corbaOutTypes[typ] % module + return corbaOutTypes[typ] % (module+"_ORB") else: return corbaOutTypes[typ] def corba_rtn_type(typ, module): if corbaRtnTypes[typ].count("%s")>0: - return corbaRtnTypes[typ] % module + return corbaRtnTypes[typ] % (module+"_ORB") else: return corbaRtnTypes[typ]