From 63904538c8215312489afd0277d78199c88a512a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 23 Feb 2023 10:11:22 -0700 Subject: [PATCH] [wasm-api] Use i32 instead of externref in API spec Oh well... --- src/hb-wasm-api.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-wasm-api.hh b/src/hb-wasm-api.hh index 122bc8270..43f5d217a 100644 --- a/src/hb-wasm-api.hh +++ b/src/hb-wasm-api.hh @@ -63,7 +63,7 @@ static void debugprint(wasm_exec_env_t exec_env, char *the_string, uint8_t len) #define NATIVE_SYMBOL(signature, name) {#name, (void *) hb::wasm::name, signature, NULL} static NativeSymbol _hb_wasm_native_symbols[] = { - NATIVE_SYMBOL ("(r)r", font_get_face), + NATIVE_SYMBOL ("(i)i", font_get_face), #ifdef HB_DEBUG_WASM { "debugprint",