提交 70ea4ac6 编写于 作者: B Behdad Esfahbod

Slightly optimize UTF-8 parsing

上级 4445e5e2
...@@ -44,8 +44,8 @@ hb_utf_next (const uint8_t *text, ...@@ -44,8 +44,8 @@ hb_utf_next (const uint8_t *text,
const uint8_t *end, const uint8_t *end,
hb_codepoint_t *unicode) hb_codepoint_t *unicode)
{ {
uint8_t c = *text; hb_codepoint_t c = *text, mask;
unsigned int mask, len; unsigned int len;
/* TODO check for overlong sequences? */ /* TODO check for overlong sequences? */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册