Merge pull request #229 from arimus/binding-typename-fix

escape 'typename' keyword, which is causing errors when generating bindings
pull/235/head
Thomas Herzog 2019-02-04 08:46:19 +01:00 committed by GitHub
commit 2a4e82b77e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -824,7 +824,8 @@ def escape_cpp(name):
"export": "_export",
"template": "_template",
"new": "new_",
"operator": "_operator"
"operator": "_operator",
"typename": "_typename"
}
if name in escapes:
return escapes[name]