[subset-plan] Relax const return type of a few functions
Fixes https://github.com/harfbuzz/harfbuzz/issues/4003
This commit is contained in:
parent
dbf0964a0f
commit
c350458539
|
@ -1005,7 +1005,7 @@ hb_subset_plan_destroy (hb_subset_plan_t *plan)
|
||||||
*
|
*
|
||||||
* Since: 4.0.0
|
* Since: 4.0.0
|
||||||
**/
|
**/
|
||||||
const hb_map_t*
|
hb_map_t *
|
||||||
hb_subset_plan_old_to_new_glyph_mapping (const hb_subset_plan_t *plan)
|
hb_subset_plan_old_to_new_glyph_mapping (const hb_subset_plan_t *plan)
|
||||||
{
|
{
|
||||||
return plan->glyph_map;
|
return plan->glyph_map;
|
||||||
|
@ -1023,7 +1023,7 @@ hb_subset_plan_old_to_new_glyph_mapping (const hb_subset_plan_t *plan)
|
||||||
*
|
*
|
||||||
* Since: 4.0.0
|
* Since: 4.0.0
|
||||||
**/
|
**/
|
||||||
const hb_map_t*
|
hb_map_t *
|
||||||
hb_subset_plan_new_to_old_glyph_mapping (const hb_subset_plan_t *plan)
|
hb_subset_plan_new_to_old_glyph_mapping (const hb_subset_plan_t *plan)
|
||||||
{
|
{
|
||||||
return plan->reverse_glyph_map;
|
return plan->reverse_glyph_map;
|
||||||
|
@ -1041,7 +1041,7 @@ hb_subset_plan_new_to_old_glyph_mapping (const hb_subset_plan_t *plan)
|
||||||
*
|
*
|
||||||
* Since: 4.0.0
|
* Since: 4.0.0
|
||||||
**/
|
**/
|
||||||
const hb_map_t*
|
hb_map_t *
|
||||||
hb_subset_plan_unicode_to_old_glyph_mapping (const hb_subset_plan_t *plan)
|
hb_subset_plan_unicode_to_old_glyph_mapping (const hb_subset_plan_t *plan)
|
||||||
{
|
{
|
||||||
return plan->codepoint_to_glyph;
|
return plan->codepoint_to_glyph;
|
||||||
|
|
|
@ -207,13 +207,13 @@ hb_subset_plan_create_or_fail (hb_face_t *face,
|
||||||
HB_EXTERN void
|
HB_EXTERN void
|
||||||
hb_subset_plan_destroy (hb_subset_plan_t *plan);
|
hb_subset_plan_destroy (hb_subset_plan_t *plan);
|
||||||
|
|
||||||
HB_EXTERN const hb_map_t*
|
HB_EXTERN hb_map_t *
|
||||||
hb_subset_plan_old_to_new_glyph_mapping (const hb_subset_plan_t *plan);
|
hb_subset_plan_old_to_new_glyph_mapping (const hb_subset_plan_t *plan);
|
||||||
|
|
||||||
HB_EXTERN const hb_map_t*
|
HB_EXTERN hb_map_t *
|
||||||
hb_subset_plan_new_to_old_glyph_mapping (const hb_subset_plan_t *plan);
|
hb_subset_plan_new_to_old_glyph_mapping (const hb_subset_plan_t *plan);
|
||||||
|
|
||||||
HB_EXTERN const hb_map_t*
|
HB_EXTERN hb_map_t *
|
||||||
hb_subset_plan_unicode_to_old_glyph_mapping (const hb_subset_plan_t *plan);
|
hb_subset_plan_unicode_to_old_glyph_mapping (const hb_subset_plan_t *plan);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue