Fix struct initializers

This commit is contained in:
Behdad Esfahbod 2010-05-24 18:02:32 +01:00
parent f5ac9de259
commit c442672ec2
3 changed files with 20 additions and 20 deletions

View File

@ -128,13 +128,13 @@ hb_ft_get_kerning (hb_font_t *font HB_UNUSED,
static hb_font_funcs_t ft_ffuncs = { static hb_font_funcs_t ft_ffuncs = {
HB_REFERENCE_COUNT_INVALID, /* ref_count */ HB_REFERENCE_COUNT_INVALID, /* ref_count */
TRUE, /* immutable */ TRUE, /* immutable */
{
hb_ft_get_glyph, hb_ft_get_glyph,
hb_ft_get_contour_point, hb_ft_get_contour_point,
hb_ft_get_glyph_metrics, hb_ft_get_glyph_metrics,
hb_ft_get_kerning hb_ft_get_kerning
}
}; };
hb_font_funcs_t * hb_font_funcs_t *

View File

@ -41,14 +41,14 @@ static unsigned int hb_glib_get_eastasian_width (hb_codepoint_t unicode) { retur
static hb_unicode_funcs_t glib_ufuncs = { static hb_unicode_funcs_t glib_ufuncs = {
HB_REFERENCE_COUNT_INVALID, /* ref_count */ HB_REFERENCE_COUNT_INVALID, /* ref_count */
TRUE, /* immutable */ TRUE, /* immutable */
{
hb_glib_get_general_category, hb_glib_get_general_category,
hb_glib_get_combining_class, hb_glib_get_combining_class,
hb_glib_get_mirroring, hb_glib_get_mirroring,
hb_glib_get_script, hb_glib_get_script,
hb_glib_get_eastasian_width hb_glib_get_eastasian_width
}
}; };
hb_unicode_funcs_t * hb_unicode_funcs_t *

View File

@ -231,14 +231,14 @@ hb_icu_get_script (hb_codepoint_t unicode)
static hb_unicode_funcs_t icu_ufuncs = { static hb_unicode_funcs_t icu_ufuncs = {
HB_REFERENCE_COUNT_INVALID, /* ref_count */ HB_REFERENCE_COUNT_INVALID, /* ref_count */
TRUE, /* immutable */ TRUE, /* immutable */
{
hb_icu_get_general_category, hb_icu_get_general_category,
hb_icu_get_combining_class, hb_icu_get_combining_class,
hb_icu_get_mirroring, hb_icu_get_mirroring,
hb_icu_get_script, hb_icu_get_script,
hb_icu_get_eastasian_width hb_icu_get_eastasian_width
}
}; };
hb_unicode_funcs_t * hb_unicode_funcs_t *