Merge pull request #131 from marcelofg55/fix_float_double

fix method calls that take floats/doubles
pull/133/head
Thomas Herzog 2018-05-09 10:22:26 +02:00 committed by GitHub
commit 4e4527584b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -501,6 +501,8 @@ def generate_icall_header(icalls):
if is_core_type(arg):
method_signature += arg + "&"
elif arg == "float":
method_signature += "double "
elif is_primitive(arg):
method_signature += arg
else:
@ -552,6 +554,8 @@ def generate_icall_implementation(icalls):
if is_core_type(arg):
method_signature += arg + "& "
elif arg == "float":
method_signature += "double "
elif is_primitive(arg):
method_signature += arg + " "
else: