Skip to content

Commit

Permalink
Generate arguments for virtual functions that take float as taking …
Browse files Browse the repository at this point in the history
…`float` (rather than `double`)
  • Loading branch information
dsnopek committed Jun 12, 2024
1 parent fe06472 commit 22c8bdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions binding_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2583,6 +2583,8 @@ def correct_type(type_name, meta=None, use_alias=True):
if meta != None:
if "int" in meta:
return f"{meta}_t"
elif meta == "float":
return meta
elif meta in type_conversion:
return type_conversion[type_name]
else:
Expand Down

0 comments on commit 22c8bdd

Please sign in to comment.