diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-09-23 09:54:33 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 09:54:33 +1000 |
commit | 1bb06e85071efbd3cc884cf0885c9bafe91e1fce (patch) | |
tree | 70b3683b777efa54a05f8959d529af80e262c1a6 | |
parent | 466f2cdebff51cbb71ffac2d6a758b99e9a28157 (diff) | |
parent | 54c2d2357213a6045b65120ccadc42b6204d8652 (diff) | |
download | redot-cpp-1bb06e85071efbd3cc884cf0885c9bafe91e1fce.tar.gz |
Merge pull request #616 from raulsntos/fix-enum-params
Escape parameters named `enum`.
-rw-r--r-- | binding_generator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binding_generator.py b/binding_generator.py index 1b612c2..491ae9b 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -881,6 +881,7 @@ def is_primitive(name): def escape_cpp(name): escapes = { "class": "_class", + "enum": "_enum", "char": "_char", "short": "_short", "bool": "_bool", |