[wasm-api] Add HB_WASM_INTERFACE
This commit is contained in:
parent
ed1a70c7e8
commit
bd28d01a6a
|
@ -48,6 +48,9 @@ HB_WASM_BEGIN_DECLS
|
||||||
#ifndef HB_WASM_API
|
#ifndef HB_WASM_API
|
||||||
#define HB_WASM_API(x) x
|
#define HB_WASM_API(x) x
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef HB_WASM_INTERFACE
|
||||||
|
#define HB_WASM_INTERFACE(x) x
|
||||||
|
#endif
|
||||||
#ifndef HB_WASM_EXEC_ENV
|
#ifndef HB_WASM_EXEC_ENV
|
||||||
#define HB_WASM_EXEC_ENV
|
#define HB_WASM_EXEC_ENV
|
||||||
#endif
|
#endif
|
||||||
|
@ -71,7 +74,7 @@ HB_WASM_API (font_get_face) (HB_WASM_EXEC_ENV
|
||||||
/* shape interface */
|
/* shape interface */
|
||||||
|
|
||||||
bool_t
|
bool_t
|
||||||
HB_WASM_API (shape) (HB_WASM_EXEC_ENV
|
HB_WASM_INTERFACE (shape) (HB_WASM_EXEC_ENV
|
||||||
font_t,
|
font_t,
|
||||||
buffer_t);
|
buffer_t);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue