Skip to content

Commit a1e1418

Browse files
committed
Correct type for char16 and char32 meta
1 parent fbbf9ec commit a1e1418

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
@@ -2719,6 +2719,8 @@ def correct_type(type_name, meta=None, use_alias=True):
27192719
if meta is not None:
27202720
if "int" in meta:
27212721
return f"{meta}_t"
2722+
elif "char" in meta:
2723+
return f"{meta}_t"
27222724
elif meta in type_conversion:
27232725
return type_conversion[type_name]
27242726
else:

0 commit comments

Comments
 (0)