Skip to content

Commit f515a7d

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

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
@@ -2518,6 +2518,8 @@ def correct_type(type_name, meta=None):
25182518
if meta != None:
25192519
if "int" in meta:
25202520
return f"{meta}_t"
2521+
elif meta == "float":
2522+
return meta
25212523
elif meta in type_conversion:
25222524
return type_conversion[type_name]
25232525
else:

0 commit comments

Comments
 (0)