summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-buffer-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-03-14 17:05:39 -0300
committerBehdad Esfahbod <behdad@behdad.org>2011-03-14 17:06:27 -0300
commit6b522430ad65fe047b077f9cc3990a97e8869e23 (patch)
tree5797e45a8cf9ab60527c2163fdb17ff08242fefe /pango/opentype/hb-buffer-private.h
parentec69005aa8d865bc04e5a80258ee7a78bc0468ba (diff)
downloadpango-6b522430ad65fe047b077f9cc3990a97e8869e23.tar.gz
Handle realloc failure in the buffer
Ported from http://cgit.freedesktop.org/harfbuzz/commit/?id=a6a79df5fe2e by Karl Tomlinson <karlt+@karlt.net>
Diffstat (limited to 'pango/opentype/hb-buffer-private.h')
-rw-r--r--pango/opentype/hb-buffer-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/opentype/hb-buffer-private.h b/pango/opentype/hb-buffer-private.h
index 45cdc4de..f1947860 100644
--- a/pango/opentype/hb-buffer-private.h
+++ b/pango/opentype/hb-buffer-private.h
@@ -72,6 +72,7 @@ struct _hb_buffer_t {
unsigned int allocated;
hb_bool_t have_output; /* weather we have an output buffer going on */
+ hb_bool_t in_error; /* Allocation failed */
unsigned int in_length;
unsigned int out_length;
unsigned int in_pos;