summaryrefslogtreecommitdiff
path: root/src/hb-buffer-private.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-11-13 13:57:52 -0800
committerBehdad Esfahbod <behdad@behdad.org>2012-11-13 14:10:00 -0800
commit82ecaff736e245e117d70b6ec1497508c6eb08d2 (patch)
tree365f1db1cee59e04b522a410e4e19a9e823ac47d /src/hb-buffer-private.hh
parentda43a92b04929e93356ae393803ef101154d2267 (diff)
Add hb_buffer_clear()
Which is like _reset(), but does NOT clear unicode-funcs.
Diffstat (limited to 'src/hb-buffer-private.hh')
-rw-r--r--src/hb-buffer-private.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh
index c1acffd3..4e92fb5f 100644
--- a/src/hb-buffer-private.hh
+++ b/src/hb-buffer-private.hh
@@ -133,6 +133,7 @@ struct hb_buffer_t {
/* Methods */
HB_INTERNAL void reset (void);
+ HB_INTERNAL void clear (void);
inline unsigned int backtrack_len (void) const
{ return have_output? out_len : idx; }