diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-02-05 19:18:57 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-02-13 14:28:05 -0600 |
commit | 03d2aff5518b72652fab592ef3d72852ce3ae3ef (patch) | |
tree | 9fb0f3f67f4a38aa53c7d4d52da9960a3436bc6c /pango/pango-attr-list-private.h | |
parent | 04aae5f7ad1ab48248307b8995e558ad866afee5 (diff) | |
download | pango-03d2aff5518b72652fab592ef3d72852ce3ae3ef.tar.gz |
Split pango-attributes.[hc]
Split pango-attributes.[hc] into separate files for
PangoAttribute, PangoAttrList, PangoAttrIterator, and
the predefined attribute types.
Diffstat (limited to 'pango/pango-attr-list-private.h')
-rw-r--r-- | pango/pango-attr-list-private.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pango/pango-attr-list-private.h b/pango/pango-attr-list-private.h new file mode 100644 index 00000000..fcd9e0f6 --- /dev/null +++ b/pango/pango-attr-list-private.h @@ -0,0 +1,35 @@ +/* Pango + * pango-attributes-private.h: Internal structures of PangoLayout + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#pragma once + +#include <pango/pango-attr-list.h> + +struct _PangoAttrList +{ + guint ref_count; + GPtrArray *attributes; +}; + +void pango_attr_list_init (PangoAttrList *list); +void pango_attr_list_destroy (PangoAttrList *list); +gboolean pango_attr_list_has_attributes (const PangoAttrList *list); + +void pango_attr_list_init_iterator (PangoAttrList *list, + PangoAttrIterator *iterator); |