escape 'typename' keyword, which is causing errors when generating bindings

pull/229/head
David Castro 2019-02-03 17:55:16 -08:00
parent 262d53c05e
commit 30500632b1
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]