diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-08-08 16:53:23 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-08-08 16:53:23 -0400 |
commit | 3616d0b02412d86aa8d2370e67002c2ef5b31da3 (patch) | |
tree | 8f4f745e86b67846f9edfe3a5dd466bb2bb9da54 /pango/opentype/hb-ot-layout-gsub-private.hh | |
parent | 005058069f1638e207859c2898129fd1375458d7 (diff) | |
download | pango-3616d0b02412d86aa8d2370e67002c2ef5b31da3.tar.gz |
[HB] Rename hb_ot_layout_feature_mask_t to hb_mask_t
Diffstat (limited to 'pango/opentype/hb-ot-layout-gsub-private.hh')
-rw-r--r-- | pango/opentype/hb-ot-layout-gsub-private.hh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pango/opentype/hb-ot-layout-gsub-private.hh b/pango/opentype/hb-ot-layout-gsub-private.hh index a46006df..20431aed 100644 --- a/pango/opentype/hb-ot-layout-gsub-private.hh +++ b/pango/opentype/hb-ot-layout-gsub-private.hh @@ -774,8 +774,8 @@ struct SubstLookup : Lookup } bool apply_string (hb_ot_layout_context_t *context, - hb_buffer_t *buffer, - hb_ot_layout_feature_mask_t mask) const + hb_buffer_t *buffer, + hb_mask_t mask) const { bool ret = false; @@ -789,7 +789,7 @@ struct SubstLookup : Lookup buffer->in_pos = 0; while (buffer->in_pos < buffer->in_length) { - if ((~IN_PROPERTIES (buffer->in_pos) & mask) && + if ((~IN_MASK (buffer->in_pos) & mask) && apply_once (context, buffer, NO_CONTEXT, MAX_NESTING_LEVEL)) ret = true; else @@ -807,7 +807,7 @@ struct SubstLookup : Lookup buffer->in_pos = buffer->in_length - 1; do { - if ((~IN_PROPERTIES (buffer->in_pos) & mask) && + if ((~IN_MASK (buffer->in_pos) & mask) && apply_once (context, buffer, NO_CONTEXT, MAX_NESTING_LEVEL)) ret = true; else @@ -847,9 +847,9 @@ struct GSUB : GSUBGPOS { return (const SubstLookup&) GSUBGPOS::get_lookup (i); } inline bool substitute_lookup (hb_ot_layout_context_t *context, - hb_buffer_t *buffer, - unsigned int lookup_index, - hb_ot_layout_feature_mask_t mask) const + hb_buffer_t *buffer, + unsigned int lookup_index, + hb_mask_t mask) const { return get_lookup (lookup_index).apply_string (context, buffer, mask); } |