Commit 26887426 authored by Evan Nemerson's avatar Evan Nemerson

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

parent 39112d6e
......@@ -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;
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment