Skip to content

Commit 9a89d22

Browse files
committed
Correct type for char16 and char32 meta
1 parent 265412c commit 9a89d22

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)