This commit is contained in:
Behdad Esfahbod 2014-07-16 13:21:26 -04:00
parent ec181e5014
commit 878a25375b
2 changed files with 4 additions and 3 deletions

View File

@ -37,6 +37,7 @@
#include "hb-ot-shape-normalize-private.hh" #include "hb-ot-shape-normalize-private.hh"
#include "hb-ot-layout-private.hh" #include "hb-ot-layout-private.hh"
#include "hb-unicode-private.hh"
#include "hb-set-private.hh" #include "hb-set-private.hh"

View File

@ -102,7 +102,7 @@ HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS_SIMPLE
} }
unsigned int inline unsigned int
modified_combining_class (hb_codepoint_t unicode) modified_combining_class (hb_codepoint_t unicode)
{ {
/* XXX This hack belongs to the Myanmar shaper. */ /* XXX This hack belongs to the Myanmar shaper. */
@ -119,7 +119,7 @@ HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS_SIMPLE
return _hb_modified_combining_class[combining_class (unicode)]; return _hb_modified_combining_class[combining_class (unicode)];
} }
inline hb_bool_t static inline hb_bool_t
is_variation_selector (hb_codepoint_t unicode) is_variation_selector (hb_codepoint_t unicode)
{ {
return unlikely (hb_in_ranges (unicode, return unlikely (hb_in_ranges (unicode,
@ -164,7 +164,7 @@ HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS_SIMPLE
* E0100..E01EF # Mn [240] VARIATION SELECTOR-17..VARIATION SELECTOR-256 * E0100..E01EF # Mn [240] VARIATION SELECTOR-17..VARIATION SELECTOR-256
* E01F0..E0FFF # Cn [3600] <reserved-E01F0>..<reserved-E0FFF> * E01F0..E0FFF # Cn [3600] <reserved-E01F0>..<reserved-E0FFF>
*/ */
inline hb_bool_t static inline hb_bool_t
is_default_ignorable (hb_codepoint_t ch) is_default_ignorable (hb_codepoint_t ch)
{ {
hb_codepoint_t plane = ch >> 16; hb_codepoint_t plane = ch >> 16;