mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
Fix struct initializers
This commit is contained in:
1 parent
f5ac9de259
commit
c442672ec2
3 files changed
+20
-20
No files matched your search
+6
-6
@@ -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 *
|
||||
|
||||
+7
-7
@@ -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 *
|
||||
|
||||
+7
-7
@@ -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 *
|
||||
|
||||
Reference in new issue
Block a user