Commit 8ab751e2 authored by Robert Bradshaw's avatar Robert Bradshaw

More type name mangling.

parent c55441f7
......@@ -3389,9 +3389,14 @@ def c_tuple_type(components):
if tuple_type is None:
cname = '__pyx_tuple_' + '___'.join(
c.declaration_code('').replace('*', '_ptr')
.replace('&', '_ref')
.replace('::', '_in')
.replace(' ', '__')
.replace('[', '_sbra')
.replace(']', '_sket')
.replace('<', '_lang')
.replace('>', '_rang')
.replace(',', '_comma_')
for c in components)
tuple_type = c_tuple_types[components] = CTupleType(cname, components)
return tuple_type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment