Revert "[map] Make hb_map_set() return bool"

This reverts commit 7bf1980146.
This commit is contained in:
Behdad Esfahbod 2018-05-29 16:44:55 -07:00
parent 7bf1980146
commit fc51c45079
2 changed files with 4 additions and 4 deletions

View File

@ -170,12 +170,12 @@ hb_map_allocation_successful (const hb_map_t *map)
*
* Since: REPLACEME
**/
hb_bool_t
void
hb_map_set (hb_map_t *map,
hb_codepoint_t key,
hb_codepoint_t value)
{
return map->set (key, value);
map->set (key, value);
}
/**

View File

@ -80,14 +80,14 @@ hb_map_allocation_successful (const hb_map_t *map);
hb_map_is_empty (const hb_map_t *map);
HB_EXTERN unsigned int
hb_map_get_population (const hb_map_t *map);
hb_set_get_population (const hb_set_t *set);
HB_EXTERN hb_bool_t
hb_map_is_equal (const hb_map_t *map,
const hb_map_t *other);
*/
HB_EXTERN hb_bool_t
HB_EXTERN void
hb_map_set (hb_map_t *map,
hb_codepoint_t key,
hb_codepoint_t value);