From d0680d574474e22f0b9877c8411c74507b2eaa2f Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sun, 25 Oct 2015 21:33:34 +0100 Subject: gir: Update annotations from GLib git master --- gir/glib-2.0.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'gir/glib-2.0.c') diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c index 07e8813b..be8b1811 100644 --- a/gir/glib-2.0.c +++ b/gir/glib-2.0.c @@ -19558,7 +19558,7 @@ * @timeout_: (out): location to store timeout to be used in polling * @fds: (out caller-allocates) (array length=n_fds): location to * store #GPollFD records that need to be polled. - * @n_fds: length of @fds. + * @n_fds: (in): length of @fds. * * Determines information necessary to poll this main loop. * @@ -25080,6 +25080,21 @@ */ +/** + * g_sequence_is_empty: + * @seq: a #GSequence + * + * Returns %TRUE if the sequence contains zero items. + * + * This function is functionally identical to checking the result of + * g_sequence_get_length() being equal to zero. However this function is + * implemented in O(1) running time. + * + * Returns: %TRUE if the sequence is empty, otherwise %FALSE. + * Since: 2.48 + */ + + /** * g_sequence_iter_compare: * @a: a #GSequenceIter -- cgit v1.2.1