summaryrefslogtreecommitdiff
path: root/src/hb-buffer-private.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-05-28 18:31:16 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-05-28 18:31:16 -0400
commit81c5e8724b740c6e42ed3a45e0574c7c5f3ad8e6 (patch)
tree9ff248204e7467e5cc4a4a91ae187551d91ea1c7 /src/hb-buffer-private.hh
parent2163afbf35044f59dbf449254e65b8c9feb6cdeb (diff)
Allow disabling default features
Patch from Jonathan Kew
Diffstat (limited to 'src/hb-buffer-private.hh')
-rw-r--r--src/hb-buffer-private.hh18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh
index d05322b8..0232dc32 100644
--- a/src/hb-buffer-private.hh
+++ b/src/hb-buffer-private.hh
@@ -98,10 +98,11 @@ HB_INTERNAL void
_hb_buffer_clear_masks (hb_buffer_t *buffer);
HB_INTERNAL void
-_hb_buffer_or_masks (hb_buffer_t *buffer,
- hb_mask_t mask,
- unsigned int cluster_start,
- unsigned int cluster_end);
+_hb_buffer_set_masks (hb_buffer_t *buffer,
+ hb_mask_t value,
+ hb_mask_t mask,
+ unsigned int cluster_start,
+ unsigned int cluster_end);
struct _hb_buffer_t {
@@ -158,10 +159,11 @@ struct _hb_buffer_t {
inline void replace_glyph (hb_codepoint_t glyph_index) { add_output_glyph (glyph_index); }
inline void clear_masks (void) { _hb_buffer_clear_masks (this); }
- inline void or_masks (hb_mask_t mask,
- unsigned int cluster_start,
- unsigned int cluster_end)
- { _hb_buffer_or_masks (this, mask, cluster_start, cluster_end); }
+ inline void set_masks (hb_mask_t value,
+ hb_mask_t mask,
+ unsigned int cluster_start,
+ unsigned int cluster_end)
+ { _hb_buffer_set_masks (this, value, mask, cluster_start, cluster_end); }
};