[glib] Add GI annotations to GConverter
- From: Pavel Holejsovsky <pholejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Add GI annotations to GConverter
- Date: Mon, 27 Dec 2010 15:54:31 +0000 (UTC)
commit 53fee54b4f70d209a93f77effa2e9d2b1c8465e8
Author: Pavel Holejsovsky <pholejs src gnome org>
Date: Mon Dec 27 16:29:20 2010 +0100
Add GI annotations to GConverter
gio/gconverter.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gio/gconverter.c b/gio/gconverter.c
index 74e90c2..1dcf6aa 100644
--- a/gio/gconverter.c
+++ b/gio/gconverter.c
@@ -54,13 +54,14 @@ g_converter_default_init (GConverterInterface *iface)
/**
* g_converter_convert:
* @converter: a #GConverter.
- * @inbuf: the buffer containing the data to convert.
+ * @inbuf: (array length=inbuf_size) (element-type guint8): the buffer
+ * containing the data to convert.
* @inbuf_size: the number of bytes in @inbuf
* @outbuf: a buffer to write converted data in.
* @outbuf_size: the number of bytes in @outbuf, must be at least one
* @flags: a #GConvertFlags controlling the conversion details
- * @bytes_read: will be set to the number of bytes read from @inbuf on success
- * @bytes_written: will be set to the number of bytes written to @outbuf on success
+ * @bytes_read: (out): will be set to the number of bytes read from @inbuf on success
+ * @bytes_written: (out): will be set to the number of bytes written to @outbuf on success
* @error: location to store the error occuring, or %NULL to ignore
*
* This is the main operation used when converting data. It is to be called
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]