Deprecate hb_set_invert()

This commit is contained in:
Behdad Esfahbod 2017-10-15 16:15:24 +02:00
parent 5e74044b6b
commit 1d3971200b
3 changed files with 6 additions and 4 deletions

View File

@ -34,6 +34,7 @@
#include "hb-common.h"
#include "hb-unicode.h"
#include "hb-font.h"
#include "hb-set.h"
HB_BEGIN_DECLS
@ -54,6 +55,9 @@ hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs,
hb_font_get_glyph_func_t func,
void *user_data, hb_destroy_func_t destroy);
HB_EXTERN void
hb_set_invert (hb_set_t *set);
#endif
HB_END_DECLS

View File

@ -376,11 +376,12 @@ hb_set_symmetric_difference (hb_set_t *set,
*
*
* Since: 0.9.10
*
* Deprecated: 1.6.1
**/
void
hb_set_invert (hb_set_t *set)
{
set->invert ();
}
/**

View File

@ -126,9 +126,6 @@ HB_EXTERN void
hb_set_symmetric_difference (hb_set_t *set,
const hb_set_t *other);
HB_EXTERN void
hb_set_invert (hb_set_t *set);
HB_EXTERN unsigned int
hb_set_get_population (const hb_set_t *set);