diff options
author | Timm Bäder <mail@baedert.org> | 2020-04-15 15:37:38 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-06-08 19:15:58 +0200 |
commit | c802c85d0ed07cc1dae5db8f1991d82ec45bf1bd (patch) | |
tree | 09e48acfb8fd1822e5170b2b9894ee09f072328e /pango/pango-attributes-private.h | |
parent | 25049ad1e41ad9127366e10c4c06ec56b5ffa69a (diff) | |
download | pango-c802c85d0ed07cc1dae5db8f1991d82ec45bf1bd.tar.gz |
Allocate internal PangoAttrLists on the stack
Diffstat (limited to 'pango/pango-attributes-private.h')
-rw-r--r-- | pango/pango-attributes-private.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pango/pango-attributes-private.h b/pango/pango-attributes-private.h index 38e4525d..efeb88cd 100644 --- a/pango/pango-attributes-private.h +++ b/pango/pango-attributes-private.h @@ -28,6 +28,15 @@ struct _PangoAttrIterator guint end_index; }; +struct _PangoAttrList +{ + guint ref_count; + GSList *attributes; + GSList *attributes_tail; +}; + +void _pango_attr_list_init (PangoAttrList *list); +void _pango_attr_list_destroy (PangoAttrList *list); void _pango_attr_list_get_iterator (PangoAttrList *list, PangoAttrIterator *iterator); |