From 2ad0c7ad6e86c8d43f3d5b77ba5248a6da08b834 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 12 May 2024 20:49:35 +0000 Subject: [PATCH] [TS] Add one more method style for callback definitions --- ts/js-wasm.h | 1 + typescript_strings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.5