| Index: third_party/harfbuzz-ng/src/hb-set.h
|
| diff --git a/third_party/harfbuzz-ng/src/hb-set.h b/third_party/harfbuzz-ng/src/hb-set.h
|
| index 29bf6556ab7db490ac47409e3b70aa56080dd38e..2164c1a6549afc39d9f3c6e82bb6ca8f0b8f732d 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-set.h
|
| +++ b/third_party/harfbuzz-ng/src/hb-set.h
|
| @@ -44,109 +44,109 @@ HB_BEGIN_DECLS
|
| typedef struct hb_set_t hb_set_t;
|
|
|
|
|
| -hb_set_t *
|
| +HB_EXTERN hb_set_t *
|
| hb_set_create (void);
|
|
|
| -hb_set_t *
|
| +HB_EXTERN hb_set_t *
|
| hb_set_get_empty (void);
|
|
|
| -hb_set_t *
|
| +HB_EXTERN hb_set_t *
|
| hb_set_reference (hb_set_t *set);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_destroy (hb_set_t *set);
|
|
|
| -hb_bool_t
|
| +HB_EXTERN hb_bool_t
|
| hb_set_set_user_data (hb_set_t *set,
|
| hb_user_data_key_t *key,
|
| void * data,
|
| hb_destroy_func_t destroy,
|
| hb_bool_t replace);
|
|
|
| -void *
|
| +HB_EXTERN void *
|
| hb_set_get_user_data (hb_set_t *set,
|
| hb_user_data_key_t *key);
|
|
|
|
|
| /* Returns false if allocation has failed before */
|
| -hb_bool_t
|
| +HB_EXTERN hb_bool_t
|
| hb_set_allocation_successful (const hb_set_t *set);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_clear (hb_set_t *set);
|
|
|
| -hb_bool_t
|
| +HB_EXTERN hb_bool_t
|
| hb_set_is_empty (const hb_set_t *set);
|
|
|
| -hb_bool_t
|
| +HB_EXTERN hb_bool_t
|
| hb_set_has (const hb_set_t *set,
|
| hb_codepoint_t codepoint);
|
|
|
| /* Right now limited to 16-bit integers. Eventually will do full codepoint range, sans -1
|
| * which we will use as a sentinel. */
|
| -void
|
| +HB_EXTERN void
|
| hb_set_add (hb_set_t *set,
|
| hb_codepoint_t codepoint);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_add_range (hb_set_t *set,
|
| hb_codepoint_t first,
|
| hb_codepoint_t last);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_del (hb_set_t *set,
|
| hb_codepoint_t codepoint);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_del_range (hb_set_t *set,
|
| hb_codepoint_t first,
|
| hb_codepoint_t last);
|
|
|
| -hb_bool_t
|
| +HB_EXTERN hb_bool_t
|
| hb_set_is_equal (const hb_set_t *set,
|
| const hb_set_t *other);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_set (hb_set_t *set,
|
| const hb_set_t *other);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_union (hb_set_t *set,
|
| const hb_set_t *other);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_intersect (hb_set_t *set,
|
| const hb_set_t *other);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_subtract (hb_set_t *set,
|
| const hb_set_t *other);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_symmetric_difference (hb_set_t *set,
|
| const hb_set_t *other);
|
|
|
| -void
|
| +HB_EXTERN void
|
| hb_set_invert (hb_set_t *set);
|
|
|
| -unsigned int
|
| +HB_EXTERN unsigned int
|
| hb_set_get_population (const hb_set_t *set);
|
|
|
| /* Returns -1 if set empty. */
|
| -hb_codepoint_t
|
| +HB_EXTERN hb_codepoint_t
|
| hb_set_get_min (const hb_set_t *set);
|
|
|
| /* Returns -1 if set empty. */
|
| -hb_codepoint_t
|
| +HB_EXTERN hb_codepoint_t
|
| hb_set_get_max (const hb_set_t *set);
|
|
|
| /* Pass -1 in to get started. */
|
| -hb_bool_t
|
| +HB_EXTERN hb_bool_t
|
| hb_set_next (const hb_set_t *set,
|
| hb_codepoint_t *codepoint);
|
|
|
| /* Pass -1 for first and last to get started. */
|
| -hb_bool_t
|
| +HB_EXTERN hb_bool_t
|
| hb_set_next_range (const hb_set_t *set,
|
| hb_codepoint_t *first,
|
| hb_codepoint_t *last);
|
|
|