summaryrefslogtreecommitdiff
path: root/pango/pango-utils.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-utils.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-utils.h')
-rw-r--r--pango/pango-utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-utils.h b/pango/pango-utils.h
index f44f2b55..41a8bbb0 100644
--- a/pango/pango-utils.h
+++ b/pango/pango-utils.h
@@ -82,13 +82,13 @@ gboolean pango_parse_stretch (const char *str,
* stored in the registry). The returned string should not be
* g_free'd.
*/
-G_CONST_RETURN char * pango_get_sysconf_subdirectory (void);
+G_CONST_RETURN char * pango_get_sysconf_subdirectory (void) G_GNUC_PURE;
/* Ditto for LIBDIR/pango. On Win32, use the same Pango
* installation directory. This returned string should not be
* g_free'd either.
*/
-G_CONST_RETURN char * pango_get_lib_subdirectory (void);
+G_CONST_RETURN char * pango_get_lib_subdirectory (void) G_GNUC_PURE;
#endif /* PANGO_ENABLE_BACKEND */
@@ -131,12 +131,12 @@ gboolean pango_is_zero_width (gunichar ch) G_GNUC_CONST;
int pango_version (void) G_GNUC_CONST;
/* Return run-time Pango version as an string */
-G_CONST_RETURN char * pango_version_string (void);
+G_CONST_RETURN char * pango_version_string (void) G_GNUC_CONST;
/* Check that run-time Pango is as new as required */
G_CONST_RETURN char * pango_version_check (int required_major,
int required_minor,
- int required_micro);
+ int required_micro) G_GNUC_CONST;
G_END_DECLS