[face] Remove const from get_user_data prototype

This was done by mistake.

Since the returned user_data can be changed, face should not be marked
const. Other object types follow this parttern.
This commit is contained in:
Behdad Esfahbod 2022-06-01 09:46:41 -06:00
parent bc6ecaa262
commit c88a6a9ec3
2 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@ hb_face_set_user_data (hb_face_t *face,
* Since: 0.9.2 * Since: 0.9.2
**/ **/
void * void *
hb_face_get_user_data (const hb_face_t *face, hb_face_get_user_data (hb_face_t *face,
hb_user_data_key_t *key) hb_user_data_key_t *key)
{ {
return hb_object_get_user_data (face, key); return hb_object_get_user_data (face, key);

View File

@ -96,7 +96,7 @@ hb_face_set_user_data (hb_face_t *face,
hb_bool_t replace); hb_bool_t replace);
HB_EXTERN void * HB_EXTERN void *
hb_face_get_user_data (const hb_face_t *face, hb_face_get_user_data (hb_face_t *face,
hb_user_data_key_t *key); hb_user_data_key_t *key);
HB_EXTERN void HB_EXTERN void