#define HB_WASM_INTERFACE(ret_t, name) __attribute__((export_name(#name))) ret_t name #include extern "C" { void debugprint1 (const char *s, int32_t); void debugprint2 (const char *s, int32_t, int32_t); } bool_t shape (font_t *font, buffer_t *buffer, const feature_t *features, uint32_t num_features) { return shape_with (font, buffer, features, num_features, "ot"); }