summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-buffer-private.h
diff options
context:
space:
mode:
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 f1947860..58185e7e 100644
--- a/pango/opentype/hb-buffer-private.h
+++ b/pango/opentype/hb-buffer-private.h
@@ -130,6 +130,7 @@ _hb_buffer_allocate_lig_id (hb_buffer_t *buffer);
#define CURPOSITION() (&buffer->positions[buffer->in_pos])
#define OUT_GLYPH(pos) (buffer->out_string[(pos)].codepoint)
#define OUT_INFO(pos) (&buffer->out_string[(pos)])
+#define BACKTRACK_LEN() ((buffer->have_output? buffer->out_length : buffer->in_pos))
HB_END_DECLS