glib r6936 - trunk/gio
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6936 - trunk/gio
- Date: Mon, 26 May 2008 11:52:24 +0000 (UTC)
Author: mitch
Date: Mon May 26 11:52:24 2008
New Revision: 6936
URL: http://svn.gnome.org/viewvc/glib?rev=6936&view=rev
Log:
2008-05-26 Michael Natterer <mitch imendio com>
* gmemoryoutputstream.h: declare
g_memory_output_stream_get_data_size().
Modified:
trunk/gio/ChangeLog
trunk/gio/gmemoryoutputstream.h
Modified: trunk/gio/gmemoryoutputstream.h
==============================================================================
--- trunk/gio/gmemoryoutputstream.h (original)
+++ trunk/gio/gmemoryoutputstream.h Mon May 26 11:52:24 2008
@@ -1,5 +1,5 @@
/* GIO - GLib Input, Output and Streaming Library
- *
+ *
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*
- * Author: Christian Kellner <gicmo gnome org>
+ * Author: Christian Kellner <gicmo gnome org>
*/
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
@@ -41,7 +41,7 @@
/**
* GMemoryOutputStream:
- *
+ *
* Implements #GOutputStream for arbitrary memory chunks.
**/
typedef struct _GMemoryOutputStream GMemoryOutputStream;
@@ -75,22 +75,24 @@
* @size: size to reallocate @data to
*
* Changes the size of the memory block pointed to by @data to
- * @size bytes.
+ * @size bytes.
*
* The function should have the same semantics as realloc().
*
* Returns: a pointer to the reallocated memory
*/
-typedef gpointer (*GReallocFunc) (gpointer data, gsize size);
+typedef gpointer (*GReallocFunc) (gpointer data,
+ gsize size);
-GType g_memory_output_stream_get_type (void) G_GNUC_CONST;
+GType g_memory_output_stream_get_type (void) G_GNUC_CONST;
-GOutputStream *g_memory_output_stream_new (gpointer data,
- gsize len,
- GReallocFunc realloc_fn,
- GDestroyNotify destroy);
-gpointer g_memory_output_stream_get_data (GMemoryOutputStream *ostream);
-gsize g_memory_output_stream_get_size (GMemoryOutputStream *ostream);
+GOutputStream *g_memory_output_stream_new (gpointer data,
+ gsize len,
+ GReallocFunc realloc_fn,
+ GDestroyNotify destroy);
+gpointer g_memory_output_stream_get_data (GMemoryOutputStream *ostream);
+gsize g_memory_output_stream_get_size (GMemoryOutputStream *ostream);
+gsize g_memory_output_stream_get_data_size (GMemoryOutputStream *ostream);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]