From: Matt Corallo Date: Sun, 12 May 2024 20:49:35 +0000 (+0000) Subject: [TS] Add one more method style for callback definitions X-Git-Tag: v0.0.123.0^2~5 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=2ad0c7ad6e86c8d43f3d5b77ba5248a6da08b834;p=ldk-java [TS] Add one more method style for callback definitions --- diff --git a/ts/js-wasm.h b/ts/js-wasm.h index 4e246f72..c3fb7cf4 100644 --- a/ts/js-wasm.h +++ b/ts/js-wasm.h @@ -51,5 +51,6 @@ DECL_IMPORT(u, u, b, u, u, u) DECL_IMPORT(u, u, b, b, u, u) DECL_IMPORT(u, u, b, u, b, u) DECL_IMPORT(u, b, u, b, u, u) +DECL_IMPORT(u, u, u, u, b, u) #endif diff --git a/typescript_strings.py b/typescript_strings.py index 0d8b223e..9704a48f 100644 --- a/typescript_strings.py +++ b/typescript_strings.py @@ -129,7 +129,7 @@ async function finishInitializeWasm(wasmInstance: WebAssembly.Instance) { } const fn_list = ["uuuuuu", "buuuuu", "bbuuuu", "bbbuuu", "bbbbuu", "bbbbbu", - "bbbbbb", "ubuubu", "ubuuuu", "ubbuuu", "uubuuu", "uubbuu", "uububu", "ububuu"]; + "bbbbbb", "ubuubu", "ubuuuu", "ubbuuu", "uubuuu", "uubbuu", "uububu", "ububuu", "uuuubu"]; /* @internal */ export async function initializeWasmFromUint8Array(wasmBinary: Uint8Array) {