Fix ptrcall passing invalid size int.
parent
d6a8885e31
commit
700310c8c3
|
@ -541,6 +541,8 @@ def generate_icall_header(icalls):
|
|||
|
||||
if is_core_type(arg):
|
||||
method_signature += arg + "&"
|
||||
elif arg == "int":
|
||||
method_signature += "int64_t "
|
||||
elif arg == "float":
|
||||
method_signature += "double "
|
||||
elif is_primitive(arg):
|
||||
|
@ -594,6 +596,8 @@ def generate_icall_implementation(icalls):
|
|||
|
||||
if is_core_type(arg):
|
||||
method_signature += arg + "& "
|
||||
elif arg == "int":
|
||||
method_signature += "int64_t "
|
||||
elif arg == "float":
|
||||
method_signature += "double "
|
||||
elif is_primitive(arg):
|
||||
|
|
Loading…
Reference in New Issue