Merge pull request #616 from raulsntos/fix-enum-params
Escape parameters named `enum`.pull/617/head
commit
1bb06e8507
|
@ -881,6 +881,7 @@ def is_primitive(name):
|
||||||
def escape_cpp(name):
|
def escape_cpp(name):
|
||||||
escapes = {
|
escapes = {
|
||||||
"class": "_class",
|
"class": "_class",
|
||||||
|
"enum": "_enum",
|
||||||
"char": "_char",
|
"char": "_char",
|
||||||
"short": "_short",
|
"short": "_short",
|
||||||
"bool": "_bool",
|
"bool": "_bool",
|
||||||
|
|
Loading…
Reference in New Issue