From 9a89d226c7c30adfdc51c4de9d67511e8a7c4faa Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Sat, 10 Aug 2024 17:59:03 +0200 Subject: [PATCH] Correct type for `char16` and `char32` meta --- binding_generator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binding_generator.py b/binding_generator.py index febaaa840..71afe047e 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -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: