[vala] gdk-pixbuf-2.0: Make Pixbuf.save_to_buffer use uint8 instead of char



commit 26887426e11d25926ef3466ed7b7447210e04281
Author: Evan Nemerson <evan coeus-group com>
Date:   Thu Aug 5 12:13:47 2010 -0700

    gdk-pixbuf-2.0: Make Pixbuf.save_to_buffer use uint8 instead of char

 vapi/gdk-pixbuf-2.0.vapi                           |    4 ++--
 .../gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata         |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index 4566734..068ba3e 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -48,8 +48,8 @@ namespace Gdk {
 		public Gdk.Pixbuf rotate_simple (Gdk.PixbufRotation angle);
 		public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate);
 		public bool save (string filename, string type, ...) throws GLib.Error;
-		public bool save_to_buffer ([CCode (array_length_type = "gsize")] out char[] buffer, string type, ...) throws GLib.Error;
-		public bool save_to_bufferv ([CCode (array_length_type = "gsize")] out char[] buffer, string type, string[] option_keys, string[] option_values) throws GLib.Error;
+		public bool save_to_buffer ([CCode (type = "gchar**", array_length_type = "gsize")] out uint8[] buffer, string type, ...) throws GLib.Error;
+		public bool save_to_bufferv ([CCode (type = "gchar**", array_length_type = "gsize")] out uint8[] buffer, string type, string[] option_keys, string[] option_values) throws GLib.Error;
 		public bool save_to_callback (Gdk.PixbufSaveFunc save_func, string type, ...) throws GLib.Error;
 		public bool save_to_callbackv (Gdk.PixbufSaveFunc save_func, string type, string[] option_keys, string[] option_values) throws GLib.Error;
 		public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable cancellable) throws GLib.Error;
diff --git a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
index 89d651f..5984b70 100644
--- a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
+++ b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
@@ -11,7 +11,7 @@ gdk_pixbuf_new_from_stream_at_scale.cancellable nullable="1"
 gdk_pixbuf_new_from_xpm_data.data is_array="1" no_array_length="1"
 gdk_pixbuf_new_from_inline.data is_array="1" no_array_length="1"
 gdk_pixbuf_save ellipsis="1"
-gdk_pixbuf_save_to_buffer*.buffer type_name="char" is_array="1" array_length_type="gsize" is_out="1" transfer_ownership="1"
+gdk_pixbuf_save_to_buffer*.buffer type_name="uint8" ctype="gchar**" is_array="1" array_length_type="gsize" is_out="1" transfer_ownership="1"
 gdk_pixbuf_save_to_buffer*.buffer_size hidden="1"
 gdk_pixbuf_save_to_buffer ellipsis="1"
 gdk_pixbuf_save_to_bufferv.option_keys is_array="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]