mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
Only export debugprint when HB_DEBUG_WASM
This commit is contained in:
1 parent
89c50b0ccb
commit
ed1a70c7e8
1 file changed
+2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user