mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Translate error strings
2008-01-07 Alexander Larsson <alexl@redhat.com> * gmemoryinputstream.c: Translate error strings * gio.symbols: * gmemoryoutputstream.[ch]: New implementation that avoids using GByteArray in implementation and API. (#506377) svn path=/trunk/; revision=6260
This commit is contained in:
committed by
Alexander Larsson
parent
1a41a8c6c8
commit
3fe87f016a
@@ -69,14 +69,16 @@ struct _GMemoryOutputStreamClass
|
||||
void (*_g_reserved5) (void);
|
||||
};
|
||||
|
||||
typedef gpointer (*GReallocFunc) (gpointer data, gsize size);
|
||||
|
||||
GType g_memory_output_stream_get_type (void) G_GNUC_CONST;
|
||||
GOutputStream *g_memory_output_stream_new (GByteArray *data);
|
||||
void g_memory_output_stream_set_max_size (GMemoryOutputStream *ostream,
|
||||
guint max_size);
|
||||
GByteArray * g_memory_output_stream_get_data (GMemoryOutputStream *ostream);
|
||||
void g_memory_output_stream_set_free_data (GMemoryOutputStream *ostream,
|
||||
gboolean free_data);
|
||||
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);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user