Commit 73a15217 authored by Robert Bradshaw's avatar Robert Bradshaw

Better const naming.

parent 5fcfaf12
......@@ -4252,6 +4252,7 @@ def type_identifier(type):
safe = re.sub(' ([^a-zA-Z0-9_])', r'\1', safe)
safe = re.sub('([^a-zA-Z0-9_]) ', r'\1', safe)
safe = (safe.replace('__', '__dunder')
.replace('const ', '__const_')
.replace(' ', '__space_')
.replace('*', '__ptr')
.replace('&', '__ref')
......
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