From 30500632b1830b1949dfa72f8393f7646f0df5bb Mon Sep 17 00:00:00 2001 From: David Castro Date: Sun, 3 Feb 2019 17:55:16 -0800 Subject: [PATCH] escape 'typename' keyword, which is causing errors when generating bindings --- binding_generator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binding_generator.py b/binding_generator.py index 9bb8dd59..49d82aed 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -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]