summaryrefslogtreecommitdiff
path: root/gir/glib-2.0.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-11-09 17:42:49 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2016-11-09 17:42:49 +0100
commit10f5201f8b585ca26c398c449387be411d983eb1 (patch)
tree97a7d9d3fefe3e52386820d86b473a4e26bbc751 /gir/glib-2.0.c
parent6e4ec2824c2b378af2ed67a01e86550162c22512 (diff)
downloadgobject-introspection-10f5201f8b585ca26c398c449387be411d983eb1.tar.gz
gir: Update annotations from GLib git master
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r--gir/glib-2.0.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index a9e46c2a..7c8f82f7 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -3447,8 +3447,9 @@
/**
* G_GNUC_PRINTF:
* @format_idx: the index of the argument corresponding to the
- * format string (The arguments are numbered from 1)
- * @arg_idx: the index of the first of the format arguments
+ * format string (the arguments are numbered from 1)
+ * @arg_idx: the index of the first of the format arguments, or 0 if
+ * there are no format arguments
*
* Expands to the GNU C format function attribute if the compiler is gcc.
* This is used for declaring functions which take a variable number of
@@ -3458,7 +3459,9 @@
* Place the attribute after the function declaration, just before the
* semicolon.
*
- * See the GNU C documentation for more details.
+ * See the
+ * [GNU C documentation](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-Wformat-3288)
+ * for more details.
*
* |[<!-- language="C" -->
* gint g_snprintf (gchar *string,
@@ -3487,15 +3490,18 @@
/**
* G_GNUC_SCANF:
* @format_idx: the index of the argument corresponding to
- * the format string (The arguments are numbered from 1)
- * @arg_idx: the index of the first of the format arguments
+ * the format string (the arguments are numbered from 1)
+ * @arg_idx: the index of the first of the format arguments, or 0 if
+ * there are no format arguments
*
* Expands to the GNU C format function attribute if the compiler is gcc.
* This is used for declaring functions which take a variable number of
* arguments, with the same syntax as scanf(). It allows the compiler
* to type-check the arguments passed to the function.
*
- * See the GNU C documentation for details.
+ * See the
+ * [GNU C documentation](https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-Wformat-3288)
+ * for details.
*/