X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=typescript_strings.py;h=52dd12ce03bf0822023beb18390e429e2f0bd65a;hb=661b986218f97a6d6162ddd19f3c0d48253a63ff;hp=e5cf6132ed2be9c5b7ee4a572fdd590f3d392074;hpb=68020b14f0b4f6cf8152a488f9ef3fc27414d232;p=ldk-java diff --git a/typescript_strings.py b/typescript_strings.py index e5cf6132..52dd12ce 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -1082,7 +1082,7 @@ export class {struct_name.replace("LDK","")} extends CommonBase {{ elif not fn_line.ret_ty_info.passed_as_ptr: out_c += "\treturn js_invoke_function_" + fn_suffix + "(j_calls->instance_ptr, " + str(self.function_ptr_counter) else: - out_c += "\tuint32_t ret = js_invoke_function_" + fn_suffix + "(j_calls->instance_ptr, " + str(self.function_ptr_counter) + out_c += "\tuint64_t ret = js_invoke_function_" + fn_suffix + "(j_calls->instance_ptr, " + str(self.function_ptr_counter) self.function_ptrs[self.function_ptr_counter] = (struct_name, fn_line.fn_name) self.function_ptr_counter += 1