Add is_mutable() functions
Correspond to the make_mutable() ones.
This commit is contained in:
parent
19c0eab8cf
commit
645f6f265b
|
@ -141,6 +141,12 @@ hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs)
|
||||||
ffuncs->immutable = TRUE;
|
ffuncs->immutable = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hb_bool_t
|
||||||
|
hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs)
|
||||||
|
{
|
||||||
|
return ffuncs->immutable = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs,
|
hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs,
|
||||||
|
|
|
@ -91,6 +91,8 @@ hb_font_funcs_copy (hb_font_funcs_t *ffuncs);
|
||||||
void
|
void
|
||||||
hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs);
|
hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs);
|
||||||
|
|
||||||
|
hb_bool_t
|
||||||
|
hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs);
|
||||||
|
|
||||||
/* funcs */
|
/* funcs */
|
||||||
|
|
||||||
|
|
|
@ -108,6 +108,12 @@ hb_unicode_funcs_make_immutable (hb_unicode_funcs_t *ufuncs)
|
||||||
ufuncs->immutable = TRUE;
|
ufuncs->immutable = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hb_bool_t
|
||||||
|
hb_unicode_funcs_is_immutable (hb_unicode_funcs_t *ufuncs)
|
||||||
|
{
|
||||||
|
return ufuncs->immutable;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
hb_unicode_funcs_set_mirroring_func (hb_unicode_funcs_t *ufuncs,
|
hb_unicode_funcs_set_mirroring_func (hb_unicode_funcs_t *ufuncs,
|
||||||
|
|
|
@ -201,6 +201,8 @@ hb_unicode_funcs_copy (hb_unicode_funcs_t *ufuncs);
|
||||||
void
|
void
|
||||||
hb_unicode_funcs_make_immutable (hb_unicode_funcs_t *ufuncs);
|
hb_unicode_funcs_make_immutable (hb_unicode_funcs_t *ufuncs);
|
||||||
|
|
||||||
|
hb_bool_t
|
||||||
|
hb_unicode_funcs_is_immutable (hb_unicode_funcs_t *ufuncs);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* funcs
|
* funcs
|
||||||
|
|
Loading…
Reference in New Issue