# HG changeset patch # User Paul Boddie # Date 1481325109 -3600 # Node ID 839097666c7d38c1ca95d3ae8829440b9a707d76 # Parent 209dc7a270fd15b8c27e2e99f2bab706122f387e Make consolidated function table signatures use the position information, thus preventing conflicts involving signatures with the same parameter names in different positions. diff -r 209dc7a270fd -r 839097666c7d generator.py --- a/generator.py Fri Dec 09 23:51:47 2016 +0100 +++ b/generator.py Sat Dec 10 00:11:49 2016 +0100 @@ -542,7 +542,7 @@ l.append("") else: name, pos = parameter - l.append(name) + l.append("%s_%s" % (name, pos)) return l and "__".join(l) or "__void" def get_signature_for_callable(self, path):