diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-22 19:25:08 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-25 00:40:16 -0400 |
commit | fd009f03a1263aa30cdf574664e6180dacbf31d7 (patch) | |
tree | 0df47ac1a8f7ce7f6f57ba8d2c2bdb2009ebca2b /pango/pango-utils-internal.h | |
parent | 201afb727c0ca2e428711d25f74d0f0e717da7de (diff) | |
download | pango-fd009f03a1263aa30cdf574664e6180dacbf31d7.tar.gz |
Add a helper for parsing flags
We are about to add an attribute whose values
are flags.
Diffstat (limited to 'pango/pango-utils-internal.h')
-rw-r--r-- | pango/pango-utils-internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-utils-internal.h b/pango/pango-utils-internal.h index d6e55d7c..56340215 100644 --- a/pango/pango-utils-internal.h +++ b/pango/pango-utils-internal.h @@ -36,6 +36,10 @@ gboolean _pango_parse_enum (GType type, int *value, gboolean warn, char **possible_values); +gboolean pango_parse_flags (GType type, + const char *str, + int *value, + char **possible_values); char *_pango_trim_string (const char *str); |