From 3a5bd210921ac668949e20c494976660a986ea4a Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Sat, 4 Sep 2021 21:38:25 +1000 Subject: [PATCH] Always convert float to double --- binding_generator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binding_generator.py b/binding_generator.py index 5094d6df..24135aa5 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -1561,6 +1561,8 @@ def correct_type(type_name, meta=None): if meta != None: if "int" in meta: return f"{meta}_t" + elif meta in type_conversion: + return type_conversion[type_name] else: return meta if type_name in type_conversion: