Skip to content

Commit

Permalink
Merge pull request godotengine#1554 from raulsntos/char-metadata
Browse files Browse the repository at this point in the history
Correct type for `char16` and `char32` meta
  • Loading branch information
dsnopek authored Aug 23, 2024
2 parents 265412c + 9a89d22 commit 19c83a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions binding_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2770,6 +2770,8 @@ def correct_type(type_name, meta=None, use_alias=True):
if meta is not None:
if "int" in meta:
return f"{meta}_t"
elif "char" in meta:
return f"{meta}_t"
else:
return meta
if type_name in type_conversion:
Expand Down

0 comments on commit 19c83a8

Please sign in to comment.