| 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 #define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1) |
| 40 |
| 39 typedef struct hb_set_t hb_set_t; | 41 typedef struct hb_set_t hb_set_t; |
| 40 | 42 |
| 41 | 43 |
| 42 hb_set_t * | 44 hb_set_t * |
| 43 hb_set_create (void); | 45 hb_set_create (void); |
| 44 | 46 |
| 45 hb_set_t * | 47 hb_set_t * |
| 46 hb_set_get_empty (void); | 48 hb_set_get_empty (void); |
| 47 | 49 |
| 48 hb_set_t * | 50 hb_set_t * |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 /* Pass -1 for first and last to get started. */ | 145 /* Pass -1 for first and last to get started. */ |
| 144 hb_bool_t | 146 hb_bool_t |
| 145 hb_set_next_range (const hb_set_t *set, | 147 hb_set_next_range (const hb_set_t *set, |
| 146 hb_codepoint_t *first, | 148 hb_codepoint_t *first, |
| 147 hb_codepoint_t *last); | 149 hb_codepoint_t *last); |
| 148 | 150 |
| 149 | 151 |
| 150 HB_END_DECLS | 152 HB_END_DECLS |
| 151 | 153 |
| 152 #endif /* HB_SET_H */ | 154 #endif /* HB_SET_H */ |
| OLD | NEW |