[glib] Add gtk-doc comments with Since tags to GMemoryOutputStream properties
- From: Christian Dywan <cdywan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glib] Add gtk-doc comments with Since tags to GMemoryOutputStream properties
- Date: Tue, 26 Jan 2010 19:46:32 +0000 (UTC)
commit 7d6af08777d4762ec17bfe8a4fa6eb83ba8d6f36
Author: Christian Dywan <christian twotoasts de>
Date: Tue Jan 26 20:45:40 2010 +0100
Add gtk-doc comments with Since tags to GMemoryOutputStream properties
gio/gmemoryoutputstream.c | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/gio/gmemoryoutputstream.c b/gio/gmemoryoutputstream.c
index 0369ca8..3cafa26 100644
--- a/gio/gmemoryoutputstream.c
+++ b/gio/gmemoryoutputstream.c
@@ -147,6 +147,13 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
ostream_class->close_async = g_memory_output_stream_close_async;
ostream_class->close_finish = g_memory_output_stream_close_finish;
+ /**
+ * GMemoryOutputStream:data:
+ *
+ * Pointer to buffer where data will be written.
+ *
+ * Since: 2.24
+ **/
g_object_class_install_property (gobject_class,
PROP_DATA,
g_param_spec_pointer ("data",
@@ -155,6 +162,13 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
+ /**
+ * GMemoryOutputStream:size:
+ *
+ * Current size of the data buffer.
+ *
+ * Since: 2.24
+ **/
g_object_class_install_property (gobject_class,
PROP_SIZE,
g_param_spec_ulong ("size",
@@ -164,6 +178,13 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
+ /**
+ * GMemoryOutputStream:data-size:
+ *
+ * Size of data written to the buffer.
+ *
+ * Since: 2.24
+ **/
g_object_class_install_property (gobject_class,
PROP_DATA_SIZE,
g_param_spec_ulong ("data-size",
@@ -173,6 +194,13 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS));
+ /**
+ * GMemoryOutputStream:realloc-function:
+ *
+ * Function with realloc semantics called to enlarge the buffer.
+ *
+ * Since: 2.24
+ **/
g_object_class_install_property (gobject_class,
PROP_REALLOC_FUNCTION,
g_param_spec_pointer ("realloc-function",
@@ -181,6 +209,13 @@ g_memory_output_stream_class_init (GMemoryOutputStreamClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));
+ /**
+ * GMemoryOutputStream:destroy-function:
+ *
+ * Function called with the buffer as argument when the stream is destroyed.
+ *
+ * Since: 2.24
+ **/
g_object_class_install_property (gobject_class,
PROP_DESTROY_FUNCTION,
g_param_spec_pointer ("destroy-function",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]