Skip to content

Commit 22c8bdd

Browse files
committed
Generate arguments for virtual functions that take float as taking float (rather than double)
1 parent fe06472 commit 22c8bdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

binding_generator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,6 +2583,8 @@ def correct_type(type_name, meta=None, use_alias=True):
25832583
if meta != None:
25842584
if "int" in meta:
25852585
return f"{meta}_t"
2586+
elif meta == "float":
2587+
return meta
25862588
elif meta in type_conversion:
25872589
return type_conversion[type_name]
25882590
else:

0 commit comments

Comments
 (0)