Only export debugprint when HB_DEBUG_WASM

This commit is contained in:
Simon Cozens authored and Behdad Esfahbod committed 2023-03-31 17:33:44 -06:00
1 parent 89c50b0ccb
commit ed1a70c7e8
1 file changed
+2
+2
View File
@@ -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