From 65efad6b59f6252b2b314e5e16b958bf1b8f4e80 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 23 Feb 2023 10:49:02 -0700 Subject: [PATCH] [wasm] Make debugprint use debug API --- 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 dbca32464..63b9d37c6 100644 --- a/src/hb-wasm-api.hh +++ b/src/hb-wasm-api.hh @@ -60,7 +60,7 @@ static void debugprint (HB_WASM_EXEC_ENV char *the_string) { - printf("%s", the_string); + DEBUG_MSG (WASM, exec_env, "%s", the_string); } }} #endif