Make HB_PRIVATE more useful

So we can apply it to class methods also.  Not sure if that works!
This commit is contained in:
Behdad Esfahbod 2010-05-12 23:46:16 -04:00
parent 1d5e780136
commit 357d0f29c4
4 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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