Deprecate hb_set_invert()

pull/569/head
Behdad Esfahbod 7 years ago
parent 5e74044b6b
commit 1d3971200b
  1. 4
      src/hb-deprecated.h
  2. 3
      src/hb-set.cc
  3. 3
      src/hb-set.h

@ -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

@ -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 ();
}
/**

@ -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);

Loading…
Cancel
Save