Only export debugprint when HB_DEBUG_WASM
This commit is contained in:
parent
89c50b0ccb
commit
ed1a70c7e8
|
@ -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[] =
|
static NativeSymbol _hb_wasm_native_symbols[] =
|
||||||
{
|
{
|
||||||
NATIVE_SYMBOL ("(r)r", font_get_face),
|
NATIVE_SYMBOL ("(r)r", font_get_face),
|
||||||
|
#ifdef HB_DEBUG_WASM
|
||||||
{
|
{
|
||||||
"debugprint",
|
"debugprint",
|
||||||
(void *) debugprint,
|
(void *) debugprint,
|
||||||
"($i)",
|
"($i)",
|
||||||
NULL
|
NULL
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#undef NATIVE_SYMBOL
|
#undef NATIVE_SYMBOL
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue