Merge pull request #616 from raulsntos/fix-enum-params

Escape parameters named `enum`.
pull/617/head
Bastiaan Olij 2021-09-23 09:54:33 +10:00 committed by GitHub
commit 1bb06e8507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -881,6 +881,7 @@ def is_primitive(name):
def escape_cpp(name):
escapes = {
"class": "_class",
"enum": "_enum",
"char": "_char",
"short": "_short",
"bool": "_bool",