diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-13 18:33:00 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-17 00:28:07 -0500 |
commit | c58dfbfa2f49aab45b9a26b782a7c35db3bae110 (patch) | |
tree | 61c5396b320e1a33355583378698cf81587c0e93 /pango/pango-attributes.h | |
parent | 9278c4f0c59b550f9d4ff10219d8e6242baa081f (diff) | |
download | pango-c58dfbfa2f49aab45b9a26b782a7c35db3bae110.tar.gz |
Add pango_attr_list_to/from_string
Add an api to serialize PangoAttrList.
This will be useful in testing and debugging.
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r-- | pango/pango-attributes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index 018417d5..5ea6bd9e 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -707,6 +707,11 @@ PANGO_AVAILABLE_IN_1_46 gboolean pango_attr_list_equal (PangoAttrList *list, PangoAttrList *other_list); +PANGO_AVAILABLE_IN_1_50 +char * pango_attr_list_to_string (PangoAttrList *list); +PANGO_AVAILABLE_IN_1_50 +PangoAttrList * pango_attr_list_from_string (const char *text); + PANGO_AVAILABLE_IN_1_44 GType pango_attr_iterator_get_type (void) G_GNUC_CONST; |