summaryrefslogtreecommitdiff
path: root/pango/pango-script.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-06-06 23:44:26 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-06-29 17:32:00 +0800
commitce097c062ea079bf7888d2b2f1f7b17d34f976b6 (patch)
tree7727f8b7d82acd0c4e2f09ef911bbb4bc8805a11 /pango/pango-script.h
parent57964efb280369db2731bfc070f3e73c9a860d18 (diff)
downloadpango-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.h8
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