summaryrefslogtreecommitdiff
path: root/pango/pango-ot.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-ot.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-ot.h')
-rw-r--r--pango/pango-ot.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pango/pango-ot.h b/pango/pango-ot.h
index 52cc30f0..1b3b8b7e 100644
--- a/pango/pango-ot.h
+++ b/pango/pango-ot.h
@@ -166,14 +166,14 @@ void pango_ot_ruleset_substitute (const PangoOTRuleset *ruleset,
PangoOTBuffer *buffer);
void pango_ot_ruleset_position (const PangoOTRuleset *ruleset,
PangoOTBuffer *buffer);
-PangoScript pango_ot_tag_to_script (PangoOTTag script_tag);
-PangoOTTag pango_ot_tag_from_script (PangoScript script);
-PangoLanguage* pango_ot_tag_to_language (PangoOTTag language_tag);
-PangoOTTag pango_ot_tag_from_language (PangoLanguage *language);
+PangoScript pango_ot_tag_to_script (PangoOTTag script_tag) G_GNUC_CONST;
+PangoOTTag pango_ot_tag_from_script (PangoScript script) G_GNUC_CONST;
+PangoLanguage *pango_ot_tag_to_language (PangoOTTag language_tag) G_GNUC_CONST;
+PangoOTTag pango_ot_tag_from_language (PangoLanguage *language) G_GNUC_CONST;
-guint pango_ot_ruleset_description_hash (const PangoOTRulesetDescription *desc);
+guint pango_ot_ruleset_description_hash (const PangoOTRulesetDescription *desc) G_GNUC_PURE;
gboolean pango_ot_ruleset_description_equal (const PangoOTRulesetDescription *desc1,
- const PangoOTRulesetDescription *desc2);
+ const PangoOTRulesetDescription *desc2) G_GNUC_PURE;
PangoOTRulesetDescription *pango_ot_ruleset_description_copy (const PangoOTRulesetDescription *desc);
void pango_ot_ruleset_description_free (PangoOTRulesetDescription *desc);