diff options
author | David Castro <arimus@gmail.com> | 2019-02-03 17:55:16 -0800 |
---|---|---|
committer | David Castro <arimus@gmail.com> | 2019-02-03 17:55:16 -0800 |
commit | 30500632b1830b1949dfa72f8393f7646f0df5bb (patch) | |
tree | b3e91090a2af5d0f885bc90fb9adf9f1d6a43531 | |
parent | 262d53c05eea71655e59c836c382b908b6fd9d38 (diff) | |
download | redot-cpp-30500632b1830b1949dfa72f8393f7646f0df5bb.tar.gz |
escape 'typename' keyword, which is causing errors when generating bindings
-rw-r--r-- | binding_generator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binding_generator.py b/binding_generator.py index 9bb8dd5..49d82ae 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] |