From: Matt Corallo Date: Tue, 27 Dec 2022 16:50:37 +0000 (+0000) Subject: [TS] Support one more call function X-Git-Tag: v0.0.113.0^2~15 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=6607e501116b2387b8dac8f34bb6d4d955271103;p=ldk-java [TS] Support one more call function --- diff --git a/typescript_strings.py b/typescript_strings.py index 46a2991c..98cb9c33 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -126,7 +126,7 @@ async function finishInitializeWasm(wasmInstance: WebAssembly.Instance) { } const fn_list = ["uuuuuu", "buuuuu", "bbuuuu", "bbbuuu", "bbbbuu", - "bbbbbb", "ubuubu", "ubuuuu", "ubbuuu", "uubuuu", "uububu"]; + "bbbbbb", "ubuubu", "ubuuuu", "ubbuuu", "uubuuu", "uububu", "ububuu"]; /* @internal */ export async function initializeWasmFromUint8Array(wasmBinary: Uint8Array) { @@ -1107,7 +1107,7 @@ export class {struct_name.replace("LDK","")} extends CommonBase {{ out_c = out_c + arg_info.ret_conv[1].replace('\n', '\n\t') + "\n" fn_suffix = "" - assert len(fn_line.args_ty) < 6 + assert len(fn_line.args_ty) < 7 for arg_info in fn_line.args_ty: if arg_info.c_ty == "uint64_t" or arg_info.c_ty == "int64_t": fn_suffix += "b"