equal
deleted
inserted
replaced
210 |
210 |
211 funcdeclname_orig = Function_decl["name"] |
211 funcdeclname_orig = Function_decl["name"] |
212 funcdeclname = Function_decl["name"].strip('*_') |
212 funcdeclname = Function_decl["name"].strip('*_') |
213 fdc = Function_decl["inputs"][:] |
213 fdc = Function_decl["inputs"][:] |
214 for intype in input_ovrloading_types: |
214 for intype in input_ovrloading_types: |
215 if intype != None: |
215 if intype is not None: |
216 Function_decl["inputs"] = [] |
216 Function_decl["inputs"] = [] |
217 for decl_tpl in fdc: |
217 for decl_tpl in fdc: |
218 if IsOfType(intype, decl_tpl[1]): |
218 if IsOfType(intype, decl_tpl[1]): |
219 Function_decl["inputs"] += [(decl_tpl[0], intype, decl_tpl[2])] |
219 Function_decl["inputs"] += [(decl_tpl[0], intype, decl_tpl[2])] |
220 else: |
220 else: |
226 funcdeclin = funcdeclname |
226 funcdeclin = funcdeclname |
227 else: |
227 else: |
228 funcdeclin = funcdeclname |
228 funcdeclin = funcdeclname |
229 |
229 |
230 for outype in output_types: |
230 for outype in output_types: |
231 if outype != None: |
231 if outype is not None: |
232 decl_tpl = Function_decl["outputs"][0] |
232 decl_tpl = Function_decl["outputs"][0] |
233 Function_decl["outputs"] = [ (decl_tpl[0], outype, decl_tpl[2])] |
233 Function_decl["outputs"] = [ (decl_tpl[0], outype, decl_tpl[2])] |
234 if funcdeclname_orig.endswith('*'): |
234 if funcdeclname_orig.endswith('*'): |
235 funcdeclout = funcdeclin + '_' + outype |
235 funcdeclout = funcdeclin + '_' + outype |
236 else: |
236 else: |