diff --git a/src/hb-wasm-api.hh b/src/hb-wasm-api.hh index 2430ae7de..122bc8270 100644 --- a/src/hb-wasm-api.hh +++ b/src/hb-wasm-api.hh @@ -64,12 +64,14 @@ static void debugprint(wasm_exec_env_t exec_env, char *the_string, uint8_t len) static NativeSymbol _hb_wasm_native_symbols[] = { NATIVE_SYMBOL ("(r)r", font_get_face), +#ifdef HB_DEBUG_WASM { "debugprint", (void *) debugprint, "($i)", NULL } +#endif }; #undef NATIVE_SYMBOL