Annotate functions

svn path=/trunk/; revision=7059
This commit is contained in:
Matthias Clasen 2008-06-19 05:21:29 +00:00
parent d9a932bf14
commit cbf3cb02a8
3 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2008-06-19 Matthias Clasen <mclasen@redhat.com>
Bug 535949 annotate g_strip_context and g_dpgettext with
G_GNUC_FORMAT
* glib/gstrfuncs.h:
* glib/glib.symbols: Annotate some functions with G_GNUC_FORMAT.
Patch by Christian Persch
2008-06-19 Matthias Clasen <mclasen@redhat.com>
Bug 539067 The document g_io_channel_win32_new_fd() says that "Your

View File

@ -1148,10 +1148,10 @@ g_strup
g_strdown
#endif
g_strv_length
g_strip_context
g_strip_context G_GNUC_FORMAT(1)
g_dgettext
g_dngettext
g_dpgettext
g_dpgettext G_GNUC_FORMAT(2)
#endif
#endif

View File

@ -245,7 +245,7 @@ gchar* g_stpcpy (gchar *dest,
const char *src);
G_CONST_RETURN gchar *g_strip_context (const gchar *msgid,
const gchar *msgval);
const gchar *msgval) G_GNUC_FORMAT(1);
G_CONST_RETURN gchar *g_dgettext (const gchar *domain,
const gchar *msgid);
@ -256,7 +256,7 @@ G_CONST_RETURN gchar *g_dngettext (const gchar *domain,
gulong n);
G_CONST_RETURN gchar *g_dpgettext (const gchar *domain,
const gchar *msgctxtid,
gsize msgidoffset);
gsize msgidoffset) G_GNUC_FORMAT(2);
G_END_DECLS