提交 357d0f29 编写于 作者: B Behdad Esfahbod

Make HB_PRIVATE more useful

So we can apply it to class methods also.  Not sure if that works!
上级 1d5e7801
...@@ -50,7 +50,7 @@ struct _hb_blob_t { ...@@ -50,7 +50,7 @@ struct _hb_blob_t {
void *user_data; void *user_data;
}; };
HB_INTERNAL hb_blob_t _hb_blob_nil; extern HB_INTERNAL hb_blob_t _hb_blob_nil;
HB_END_DECLS HB_END_DECLS
......
...@@ -50,8 +50,8 @@ struct _hb_font_funcs_t { ...@@ -50,8 +50,8 @@ struct _hb_font_funcs_t {
hb_font_get_kerning_func_t get_kerning; hb_font_get_kerning_func_t get_kerning;
}; };
HB_INTERNAL hb_font_funcs_t extern HB_INTERNAL hb_font_funcs_t _hb_font_funcs_nil;
_hb_font_funcs_nil;
/* /*
* hb_face_t * hb_face_t
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
#endif #endif
#ifndef HB_INTERNAL #ifndef HB_INTERNAL
# define HB_INTERNAL extern __attribute__((__visibility__("hidden"))) # define HB_INTERNAL __attribute__((__visibility__("hidden")))
#endif #endif
......
...@@ -49,8 +49,7 @@ struct _hb_unicode_funcs_t { ...@@ -49,8 +49,7 @@ struct _hb_unicode_funcs_t {
hb_unicode_get_eastasian_width_func_t get_eastasian_width; hb_unicode_get_eastasian_width_func_t get_eastasian_width;
}; };
HB_INTERNAL hb_unicode_funcs_t extern HB_INTERNAL hb_unicode_funcs_t _hb_unicode_funcs_nil;
_hb_unicode_funcs_nil;
HB_INTERNAL hb_direction_t HB_INTERNAL hb_direction_t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册