commit | 82ecaff736e245e117d70b6ec1497508c6eb08d2 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Tue Nov 13 13:57:52 2012 -0800 |
committer | Behdad Esfahbod <[email protected]> | Tue Nov 13 14:10:00 2012 -0800 |
tree | 365f1db1cee59e04b522a410e4e19a9e823ac47d | |
parent | da43a92b04929e93356ae393803ef101154d2267 [diff] [blame] |
Add hb_buffer_clear() Which is like _reset(), but does NOT clear unicode-funcs.
diff --git a/src/hb-buffer.h b/src/hb-buffer.h index dc63d1b..fbd809c 100644 --- a/src/hb-buffer.h +++ b/src/hb-buffer.h
@@ -135,6 +135,10 @@ void hb_buffer_reset (hb_buffer_t *buffer); +/* Like reset, but does NOT clear unicode_funcs. */ +void +hb_buffer_clear (hb_buffer_t *buffer); + /* Returns false if allocation failed */ hb_bool_t hb_buffer_pre_allocate (hb_buffer_t *buffer,