summaryrefslogtreecommitdiff
path: root/pango/pango-engine.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-10-03 20:29:55 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-03 20:29:55 +0000
commit07458e1e02c9a2b935d2dae3c2f9b59b330a77f5 (patch)
treed3865a496c6095ea714c1e175b00412c6d83b6be /pango/pango-engine.h
parentfcb2ec7803e96f6dc0f859cebc004dcc75584c89 (diff)
downloadpango-07458e1e02c9a2b935d2dae3c2f9b59b330a77f5.tar.gz
require one more log attr in the buffer passed in, to account for the end
2001-10-03 Havoc Pennington <hp@redhat.com> * pango/break.c (pango_break) (pango_default_break) (pango_get_log_attrs): require one more log attr in the buffer passed in, to account for the end position (pango_default_break): allow length of -1 * pango/pango-engine.h (struct _PangoEngineLang): change script_break virtual function to match pango_break * pango/pango-layout.c (get_items_log_attrs): update pango_break usage
Diffstat (limited to 'pango/pango-engine.h')
-rw-r--r--pango/pango-engine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango-engine.h b/pango/pango-engine.h
index d19367ee..1c33b9df 100644
--- a/pango/pango-engine.h
+++ b/pango/pango-engine.h
@@ -71,7 +71,8 @@ struct _PangoEngineLang
void (*script_break) (const char *text,
int len,
PangoAnalysis *analysis,
- PangoLogAttr *attrs);
+ PangoLogAttr *attrs,
+ int attrs_len);
};
struct _PangoEngineShape