OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 2012 Google, Inc. | 2 * Copyright © 2012 Google, Inc. |
3 * | 3 * |
4 * This is part of HarfBuzz, a text shaping library. | 4 * This is part of HarfBuzz, a text shaping library. |
5 * | 5 * |
6 * Permission is hereby granted, without written agreement and without | 6 * Permission is hereby granted, without written agreement and without |
7 * license or royalty fees, to use, copy, modify, and distribute this | 7 * license or royalty fees, to use, copy, modify, and distribute this |
8 * software and its documentation for any purpose, provided that the | 8 * software and its documentation for any purpose, provided that the |
9 * above copyright notice and the following two paragraphs appear in | 9 * above copyright notice and the following two paragraphs appear in |
10 * all copies of this software. | 10 * all copies of this software. |
(...skipping 18 matching lines...) Expand all Loading... |
29 #endif | 29 #endif |
30 | 30 |
31 #ifndef HB_SET_H | 31 #ifndef HB_SET_H |
32 #define HB_SET_H | 32 #define HB_SET_H |
33 | 33 |
34 #include "hb-common.h" | 34 #include "hb-common.h" |
35 | 35 |
36 HB_BEGIN_DECLS | 36 HB_BEGIN_DECLS |
37 | 37 |
38 | 38 |
| 39 /* |
| 40 * Since: 0.9.21 |
| 41 */ |
39 #define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1) | 42 #define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1) |
40 | 43 |
41 typedef struct hb_set_t hb_set_t; | 44 typedef struct hb_set_t hb_set_t; |
42 | 45 |
43 | 46 |
44 hb_set_t * | 47 hb_set_t * |
45 hb_set_create (void); | 48 hb_set_create (void); |
46 | 49 |
47 hb_set_t * | 50 hb_set_t * |
48 hb_set_get_empty (void); | 51 hb_set_get_empty (void); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 /* Pass -1 for first and last to get started. */ | 148 /* Pass -1 for first and last to get started. */ |
146 hb_bool_t | 149 hb_bool_t |
147 hb_set_next_range (const hb_set_t *set, | 150 hb_set_next_range (const hb_set_t *set, |
148 hb_codepoint_t *first, | 151 hb_codepoint_t *first, |
149 hb_codepoint_t *last); | 152 hb_codepoint_t *last); |
150 | 153 |
151 | 154 |
152 HB_END_DECLS | 155 HB_END_DECLS |
153 | 156 |
154 #endif /* HB_SET_H */ | 157 #endif /* HB_SET_H */ |
OLD | NEW |