summaryrefslogtreecommitdiff
path: root/pango/pango-language.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-06-12 00:38:13 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-06-12 00:38:13 +0000
commit4b9a95cf71f5c9cf45159899cc9674fcc248fb83 (patch)
treea597e6005547e5ac1cffafa83c1c0f284f6bc9cf /pango/pango-language.h
parent19290cba0704aec45d7cceb81c283f80a79db933 (diff)
downloadpango-4b9a95cf71f5c9cf45159899cc9674fcc248fb83.tar.gz
Add G_GNUC_CONST and G_GNUC_PURE annotations.
2007-06-11 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.h: * pango/pango-font.h: * pango/pango-glyph.h: * pango/pango-gravity.h: * pango/pango-language.h: * pango/pango-layout.h: * pango/pango-matrix.h: * pango/pango-ot-private.h: * pango/pango-ot.h: * pango/pango-renderer.h: * pango/pango-script.h: * pango/pango-tabs.h: * pango/pango-utils.h: * pango/pangoatsui-private.h: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.h: * pango/pangocairo-fc.h: * pango/pangocairo-private.h: * pango/pangocairo-win32.h: * pango/pangocairo.h: * pango/pangofc-decoder.h: * pango/pangofc-font.h: * pango/pangofc-fontmap.h: * pango/pangoft2-private.h: * pango/pangoft2.h: * pango/pangowin32-private.h: * pango/pangox-private.h: * pango/pangoxft-render.h: * pango/pangoxft.h: Add G_GNUC_CONST and G_GNUC_PURE annotations. svn path=/trunk/; revision=2345
Diffstat (limited to 'pango/pango-language.h')
-rw-r--r--pango/pango-language.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-language.h b/pango/pango-language.h
index afd50452..9c1a9d8d 100644
--- a/pango/pango-language.h
+++ b/pango/pango-language.h
@@ -32,16 +32,16 @@ typedef struct _PangoLanguage PangoLanguage;
#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
-GType pango_language_get_type (void);
+GType pango_language_get_type (void) G_GNUC_CONST;
PangoLanguage *pango_language_from_string (const char *language);
#define pango_language_to_string(language) ((const char *)language)
-G_CONST_RETURN char *pango_language_get_sample_string (PangoLanguage *language);
-PangoLanguage *pango_language_get_default (void);
+G_CONST_RETURN char *pango_language_get_sample_string (PangoLanguage *language) G_GNUC_CONST;
+PangoLanguage *pango_language_get_default (void) G_GNUC_CONST;
gboolean pango_language_matches (PangoLanguage *language,
- const char *range_list);
+ const char *range_list) G_GNUC_PURE;
G_END_DECLS