[glib] g_main_context_query(): Annotate @n_fds as (in) parameter



commit 75eaf5091c07572f0bac2756821f228d87916df0
Author: Mikhail Zabaluev <mikhail zabaluev gmail com>
Date:   Tue Oct 6 01:51:52 2015 +0300

    g_main_context_query(): Annotate @n_fds as (in) parameter
    
    The default is picked up as (out), which is bogus.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756099

 glib/gmain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index 9b90100..f680335 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -3519,7 +3519,7 @@ g_main_context_prepare (GMainContext *context,
  * @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.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]