mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
big header formatting cleanup: indentation, vtable formatting, consistent
2008-09-02 Michael Natterer <mitch@imendio.com> * *.h: big header formatting cleanup: indentation, vtable formatting, consistent spacing in (* vfunc), trailing whitespace removal. Formatting should be pretty consistent in all GIO headers now. svn path=/trunk/; revision=7433
This commit is contained in:
committed by
Michael Natterer
parent
920f3bffb3
commit
f2a2d6c9ac
@@ -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)
|
||||
@@ -40,7 +40,7 @@ G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GMemoryInputStream:
|
||||
*
|
||||
*
|
||||
* Implements #GInputStream for arbitrary memory chunks.
|
||||
**/
|
||||
typedef struct _GMemoryInputStreamClass GMemoryInputStreamClass;
|
||||
@@ -56,7 +56,7 @@ struct _GMemoryInputStream
|
||||
|
||||
struct _GMemoryInputStreamClass
|
||||
{
|
||||
GInputStreamClass parent_class;
|
||||
GInputStreamClass parent_class;
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_g_reserved1) (void);
|
||||
@@ -67,15 +67,15 @@ struct _GMemoryInputStreamClass
|
||||
};
|
||||
|
||||
|
||||
GType g_memory_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GInputStream * g_memory_input_stream_new (void);
|
||||
GInputStream * g_memory_input_stream_new_from_data (const void *data,
|
||||
gssize len,
|
||||
GDestroyNotify destroy);
|
||||
void g_memory_input_stream_add_data (GMemoryInputStream *stream,
|
||||
const void *data,
|
||||
gssize len,
|
||||
GDestroyNotify destroy);
|
||||
GType g_memory_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GInputStream * g_memory_input_stream_new (void);
|
||||
GInputStream * g_memory_input_stream_new_from_data (const void *data,
|
||||
gssize len,
|
||||
GDestroyNotify destroy);
|
||||
void g_memory_input_stream_add_data (GMemoryInputStream *stream,
|
||||
const void *data,
|
||||
gssize len,
|
||||
GDestroyNotify destroy);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user