summaryrefslogtreecommitdiff
path: root/pango/pango-fontmap.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-fontmap.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-fontmap.h')
-rw-r--r--pango/pango-fontmap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-fontmap.h b/pango/pango-fontmap.h
index 207bac77..56128e9b 100644
--- a/pango/pango-fontmap.h
+++ b/pango/pango-fontmap.h
@@ -50,19 +50,26 @@ G_BEGIN_DECLS
typedef struct _PangoContext PangoContext;
+PANGO_AVAILABLE_IN_ALL
GType pango_font_map_get_type (void) G_GNUC_CONST;
+PANGO_AVAILABLE_IN_1_22
PangoContext * pango_font_map_create_context (PangoFontMap *fontmap);
+PANGO_AVAILABLE_IN_ALL
PangoFont * pango_font_map_load_font (PangoFontMap *fontmap,
PangoContext *context,
const PangoFontDescription *desc);
+PANGO_AVAILABLE_IN_ALL
PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontmap,
PangoContext *context,
const PangoFontDescription *desc,
PangoLanguage *language);
+PANGO_AVAILABLE_IN_ALL
void pango_font_map_list_families (PangoFontMap *fontmap,
PangoFontFamily ***families,
int *n_families);
+PANGO_AVAILABLE_IN_1_32
guint pango_font_map_get_serial (PangoFontMap *fontmap);
+PANGO_AVAILABLE_IN_1_34
void pango_font_map_changed (PangoFontMap *fontmap);
#ifdef PANGO_ENABLE_BACKEND
@@ -158,6 +165,7 @@ struct _PangoFontMapClass
void (*_pango_reserved2) (void);
};
+PANGO_DEPRECATED_IN_1_38
const char *pango_font_map_get_shape_engine_type (PangoFontMap *fontmap);
#endif /* PANGO_ENABLE_BACKEND */