Skip to content

Commit 19c83a8

Browse files
authored
Merge pull request #1554 from raulsntos/char-metadata
Correct type for `char16` and `char32` meta
2 parents 265412c + 9a89d22 commit 19c83a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

binding_generator.py

+2
Original file line numberDiff line numberDiff line change
@@ -2770,6 +2770,8 @@ def correct_type(type_name, meta=None, use_alias=True):
27702770
if meta is not None:
27712771
if "int" in meta:
27722772
return f"{meta}_t"
2773+
elif "char" in meta:
2774+
return f"{meta}_t"
27732775
else:
27742776
return meta
27752777
if type_name in type_conversion:

0 commit comments

Comments
 (0)