Index: third_party/harfbuzz-ng/src/hb-buffer.h |
=================================================================== |
--- third_party/harfbuzz-ng/src/hb-buffer.h (리비전 189447) |
+++ third_party/harfbuzz-ng/src/hb-buffer.h (작업 사본) |
@@ -193,7 +193,7 @@ |
/* Like reset, but does NOT clear unicode_funcs. */ |
void |
-hb_buffer_clear (hb_buffer_t *buffer); |
+hb_buffer_clear_contents (hb_buffer_t *buffer); |
/* Returns false if allocation failed */ |
hb_bool_t |
@@ -304,7 +304,7 @@ |
unsigned int end, |
char *buf, |
unsigned int buf_size, |
- unsigned int *buf_consumed, |
+ unsigned int *buf_consumed, /* May be NULL */ |
hb_font_t *font, /* May be NULL */ |
hb_buffer_serialize_format_t format, |
hb_buffer_serialize_flags_t flags); |
@@ -312,8 +312,8 @@ |
hb_bool_t |
hb_buffer_deserialize_glyphs (hb_buffer_t *buffer, |
const char *buf, |
- unsigned int buf_len, |
- unsigned int *buf_consumed, |
+ int buf_len, /* -1 means nul-terminated */ |
+ const char **end_ptr, /* May be NULL */ |
hb_font_t *font, /* May be NULL */ |
hb_buffer_serialize_format_t format); |