[glib] giochannel: Add an out annotation for g_io_channel_read_unichar()



commit 4cea6625cb377daa1a0088189447750427a146c3
Author: Colin Walters <walters verbum org>
Date:   Thu Aug 15 18:24:45 2013 -0400

    giochannel: Add an out annotation for g_io_channel_read_unichar()
    
    Since it's an output variable.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704165

 glib/giochannel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/giochannel.c b/glib/giochannel.c
index d345773..84e9d76 100644
--- a/glib/giochannel.c
+++ b/glib/giochannel.c
@@ -2117,7 +2117,7 @@ g_io_channel_read_chars (GIOChannel  *channel,
 /**
  * g_io_channel_read_unichar:
  * @channel: a #GIOChannel
- * @thechar: a location to return a character
+ * @thechar: (out): a location to return a character
  * @error: a location to return an error of type #GConvertError
  *         or #GIOChannelError
  *


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