Correct type for `char16` and `char32` meta

pull/1569/head
Raul Santos 2024-08-10 17:59:03 +02:00 committed by David Snopek
parent 26cb3292a0
commit c823e84ff2
1 changed files with 2 additions and 0 deletions

View File

@ -2719,6 +2719,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: