X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgpollableinputstream.c;h=45947a440d20d4d61e6239863ec5de8d99eba398;hb=2a53b4d0e2c98a14aedf31e38f0ad1fb2e8fe26f;hp=513bb48731c96e2fd571a079157f9f4d614d0415;hpb=078dbda148a81af1b3a76fbda72f089b963087f1;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gpollableinputstream.c b/gio/gpollableinputstream.c index 513bb48..45947a4 100644 --- a/gio/gpollableinputstream.c +++ b/gio/gpollableinputstream.c @@ -159,8 +159,8 @@ g_pollable_input_stream_default_read_nonblocking (GPollableInputStream *stream, /** * g_pollable_input_stream_read_nonblocking: * @stream: a #GPollableInputStream - * @buffer: a buffer to read data into (which should be at least @count - * bytes long). + * @buffer: (array length=count) (element-type guint8): a buffer to + * read data into (which should be at least @count bytes long). * @count: the number of bytes you want to read * @cancellable: (allow-none): a #GCancellable, or %NULL * @error: #GError for error reporting, or %NULL to ignore. @@ -178,7 +178,7 @@ g_pollable_input_stream_default_read_nonblocking (GPollableInputStream *stream, * to having been cancelled. * * Virtual: read_nonblocking - * Return value: the number of bytes read, or -1 on error (including + * Returns: the number of bytes read, or -1 on error (including * %G_IO_ERROR_WOULD_BLOCK). */ gssize