summaryrefslogtreecommitdiff
path: root/gio/gconverter.c
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2010-12-27 16:29:20 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2010-12-27 16:29:20 +0100
commit53fee54b4f70d209a93f77effa2e9d2b1c8465e8 (patch)
treec29496a1cd5313a60c9528eaff550ce1b014721e /gio/gconverter.c
parentc8fd3e31caae45988a16442bd39ac4038cc4c510 (diff)
downloadglib-53fee54b4f70d209a93f77effa2e9d2b1c8465e8.tar.gz
Add GI annotations to GConverter
Diffstat (limited to 'gio/gconverter.c')
-rw-r--r--gio/gconverter.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gio/gconverter.c b/gio/gconverter.c
index 74e90c211..1dcf6aac1 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