diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-06 23:44:26 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-29 17:32:00 +0800 |
commit | ce097c062ea079bf7888d2b2f1f7b17d34f976b6 (patch) | |
tree | 7727f8b7d82acd0c4e2f09ef911bbb4bc8805a11 /pango/pango-script.h | |
parent | 57964efb280369db2731bfc070f3e73c9a860d18 (diff) | |
download | pango-ce097c062ea079bf7888d2b2f1f7b17d34f976b6.tar.gz |
Decorate the symbols in the headers with version macros
From the last commit, decorate all the symbols with the version
macros. Also add the version macros in the docs.
https://bugzilla.gnome.org/show_bug.cgi?id=767587
Diffstat (limited to 'pango/pango-script.h')
-rw-r--r-- | pango/pango-script.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-script.h b/pango/pango-script.h index df14a9cf..62876025 100644 --- a/pango/pango-script.h +++ b/pango/pango-script.h @@ -302,19 +302,27 @@ typedef enum { /* ISO 15924 code */ PANGO_SCRIPT_SIGNWRITING /* Sgnw */ } PangoScript; +#include <pango/pango-version-macros.h> + +PANGO_AVAILABLE_IN_1_4 PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST; +PANGO_AVAILABLE_IN_1_4 PangoScriptIter *pango_script_iter_new (const char *text, int length); +PANGO_AVAILABLE_IN_1_4 void pango_script_iter_get_range (PangoScriptIter *iter, const char **start, const char **end, PangoScript *script); +PANGO_AVAILABLE_IN_1_4 gboolean pango_script_iter_next (PangoScriptIter *iter); +PANGO_AVAILABLE_IN_1_4 void pango_script_iter_free (PangoScriptIter *iter); #include <pango/pango-language.h> +PANGO_AVAILABLE_IN_1_4 PangoLanguage *pango_script_get_sample_language (PangoScript script) G_GNUC_PURE; G_END_DECLS |