109 HB_EXTERN void 110 hb_set_set (hb_set_t *set, 111 const hb_set_t *other); 112 113 HB_EXTERN void 114 hb_set_union (hb_set_t *set, 115 const hb_set_t *other); 116 117 HB_EXTERN void 118 hb_set_intersect (hb_set_t *set, 119 const hb_set_t *other); 120 121 HB_EXTERN void 122 hb_set_subtract (hb_set_t *set, 123 const hb_set_t *other); 124 125 HB_EXTERN void 126 hb_set_symmetric_difference (hb_set_t *set, 127 const hb_set_t *other); 128 129 HB_EXTERN void 130 hb_set_invert (hb_set_t *set); 131 132 HB_EXTERN unsigned int 133 hb_set_get_population (const hb_set_t *set); 134 135 /* Returns -1 if set empty. */ 136 HB_EXTERN hb_codepoint_t 137 hb_set_get_min (const hb_set_t *set); 138 139 /* Returns -1 if set empty. */ 140 HB_EXTERN hb_codepoint_t 141 hb_set_get_max (const hb_set_t *set); 142 143 /* Pass -1 in to get started. */ 144 HB_EXTERN hb_bool_t 145 hb_set_next (const hb_set_t *set, 146 hb_codepoint_t *codepoint); 147 148 /* Pass -1 for first and last to get started. */ 149 HB_EXTERN hb_bool_t 150 hb_set_next_range (const hb_set_t *set, 151 hb_codepoint_t *first, | 109 HB_EXTERN void 110 hb_set_set (hb_set_t *set, 111 const hb_set_t *other); 112 113 HB_EXTERN void 114 hb_set_union (hb_set_t *set, 115 const hb_set_t *other); 116 117 HB_EXTERN void 118 hb_set_intersect (hb_set_t *set, 119 const hb_set_t *other); 120 121 HB_EXTERN void 122 hb_set_subtract (hb_set_t *set, 123 const hb_set_t *other); 124 125 HB_EXTERN void 126 hb_set_symmetric_difference (hb_set_t *set, 127 const hb_set_t *other); 128 129 HB_EXTERN unsigned int 130 hb_set_get_population (const hb_set_t *set); 131 132 /* Returns -1 if set empty. */ 133 HB_EXTERN hb_codepoint_t 134 hb_set_get_min (const hb_set_t *set); 135 136 /* Returns -1 if set empty. */ 137 HB_EXTERN hb_codepoint_t 138 hb_set_get_max (const hb_set_t *set); 139 140 /* Pass -1 in to get started. */ 141 HB_EXTERN hb_bool_t 142 hb_set_next (const hb_set_t *set, 143 hb_codepoint_t *codepoint); 144 145 /* Pass -1 for first and last to get started. */ 146 HB_EXTERN hb_bool_t 147 hb_set_next_range (const hb_set_t *set, 148 hb_codepoint_t *first, |