Fix struct initializers

pull/1/head
Behdad Esfahbod 15 years ago
parent f5ac9de259
commit c442672ec2
  1. 12
      src/hb-ft.cc
  2. 14
      src/hb-glib.c
  3. 14
      src/hb-icu.c

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

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

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

Loading…
Cancel
Save