Add properties to GMemoryOutputStream

This helps bindings. Patch by Krzysztof Kosiński. See bug 605733.
This commit is contained in:
Matthias Clasen
2010-01-06 17:37:11 -05:00
parent f2d8f6287d
commit 759fbac7b7
3 changed files with 260 additions and 91 deletions

View File

@@ -85,9 +85,9 @@ typedef gpointer (* GReallocFunc) (gpointer 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);
gsize size,
GReallocFunc realloc_function,
GDestroyNotify destroy_function);
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);