[wasm-api] Add ref_t

This commit is contained in:
Behdad Esfahbod 2023-02-23 10:30:35 -07:00
parent 62f3c7cf67
commit 3bc0ecf28c
1 changed files with 6 additions and 3 deletions

View File

@ -59,9 +59,12 @@ HB_WASM_BEGIN_DECLS
#ifndef bool_t
#define bool_t uint32_t
#endif
typedef uint32_t face_t;
typedef uint32_t font_t;
typedef uint32_t buffer_t;
#ifndef ref_t
#define ref_t uint32_t
#endif
typedef ref_t face_t;
typedef ref_t font_t;
typedef ref_t buffer_t;
/* font */