plcopen/structures.py
changeset 1758 845ca626db09
parent 1749 d73b64672238
child 1768 691083b5682a
equal deleted inserted replaced
1757:0de89da92ee0 1758:845ca626db09
   231                     for outype in output_types:
   231                     for outype in output_types:
   232                         if outype is not None:
   232                         if outype is not None:
   233                             decl_tpl = Function_decl["outputs"][0]
   233                             decl_tpl = Function_decl["outputs"][0]
   234                             Function_decl["outputs"] = [(decl_tpl[0], outype,  decl_tpl[2])]
   234                             Function_decl["outputs"] = [(decl_tpl[0], outype,  decl_tpl[2])]
   235                             if funcdeclname_orig.endswith('*'):
   235                             if funcdeclname_orig.endswith('*'):
   236                                 funcdeclout =  funcdeclin + '_' + outype
   236                                 funcdeclout = funcdeclin + '_' + outype
   237                             else:
   237                             else:
   238                                 funcdeclout =  funcdeclin
   238                                 funcdeclout = funcdeclin
   239                         else:
   239                         else:
   240                             funcdeclout =  funcdeclin
   240                             funcdeclout = funcdeclin
   241                         Function_decl["name"] = funcdeclout
   241                         Function_decl["name"] = funcdeclout
   242 
   242 
   243                         # apply filter given in "filter" column
   243                         # apply filter given in "filter" column
   244                         filter_name = Function_decl["filter"]
   244                         filter_name = Function_decl["filter"]
   245                         store = True
   245                         store = True