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: