提交 0cc7bc59 编写于 作者: B Behdad Esfahbod

[HB] Move typedef's around

上级 a12dd324
...@@ -39,6 +39,8 @@ typedef enum { ...@@ -39,6 +39,8 @@ typedef enum {
HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITEABLE, HB_MEMORY_MODE_READONLY_MAY_MAKE_WRITEABLE,
} hb_memory_mode_t; } hb_memory_mode_t;
typedef struct _hb_blob_t hb_blob_t;
hb_blob_t * hb_blob_t *
hb_blob_create (const char *data, hb_blob_create (const char *data,
unsigned int len, unsigned int len,
......
...@@ -50,15 +50,6 @@ typedef uint32_t hb_codepoint_t; ...@@ -50,15 +50,6 @@ typedef uint32_t hb_codepoint_t;
typedef int32_t hb_position_t; typedef int32_t hb_position_t;
typedef int32_t hb_16dot16_t; typedef int32_t hb_16dot16_t;
typedef struct _hb_blob_t hb_blob_t;
typedef void (*hb_destroy_func_t) (void *user_data); typedef void (*hb_destroy_func_t) (void *user_data);
typedef struct _hb_font_callbacks_t hb_font_callbacks_t;
typedef struct _hb_unicode_callbacks_t hb_unicode_callbacks_t;
typedef struct _hb_face_t hb_face_t;
typedef struct _hb_font_t hb_font_t;
typedef hb_blob_t * (*hb_get_table_func_t) (hb_tag_t tag, void *user_data);
#endif /* HB_COMMON_H */ #endif /* HB_COMMON_H */
...@@ -28,9 +28,19 @@ ...@@ -28,9 +28,19 @@
#define HB_FONT_H #define HB_FONT_H
#include "hb-common.h" #include "hb-common.h"
#include "hb-blob.h"
HB_BEGIN_DECLS HB_BEGIN_DECLS
typedef struct _hb_font_callbacks_t hb_font_callbacks_t;
typedef struct _hb_unicode_callbacks_t hb_unicode_callbacks_t;
typedef struct _hb_face_t hb_face_t;
typedef struct _hb_font_t hb_font_t;
typedef hb_blob_t * (*hb_get_table_func_t) (hb_tag_t tag, void *user_data);
/* /*
* hb_font_callbacks_t * hb_font_callbacks_t
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册