vala r900 - in trunk: . vapi vapi/packages/gdk-pixbuf-2.0
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r900 - in trunk: . vapi vapi/packages/gdk-pixbuf-2.0
- Date: Wed, 23 Jan 2008 21:05:08 +0000 (GMT)
Author: juergbi
Date: Wed Jan 23 21:05:08 2008
New Revision: 900
URL: http://svn.gnome.org/viewvc/vala?rev=900&view=rev
Log:
2008-01-23 Juerg Billeter <j bitron ch>
* vapi/packages/gdk-pixbuf-2.0/: fix GdkPixdata binding
* vapi/gdk-pixbuf-2.0.vapi: regenerated
Modified:
trunk/ChangeLog
trunk/vapi/gdk-pixbuf-2.0.vapi
trunk/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
Modified: trunk/vapi/gdk-pixbuf-2.0.vapi
==============================================================================
--- trunk/vapi/gdk-pixbuf-2.0.vapi (original)
+++ trunk/vapi/gdk-pixbuf-2.0.vapi Wed Jan 23 21:05:08 2008
@@ -72,20 +72,6 @@
public class PixbufSimpleAnimClass {
}
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h")]
- public class Pixdata {
- public uint magic;
- public int length;
- public uint pixdata_type;
- public uint rowstride;
- public uint width;
- public uint height;
- public uchar pixel_data;
- public bool deserialize (uint stream_length, uchar stream) throws GLib.Error;
- public pointer from_pixbuf (Gdk.Pixbuf pixbuf, bool use_rle);
- public uchar serialize (uint stream_length_p);
- public weak GLib.String to_csource (string name, Gdk.PixdataDumpType dump_type);
- }
- [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h")]
public class Pixbuf : GLib.Object {
public weak Gdk.Pixbuf add_alpha (bool substitute_color, uchar r, uchar g, uchar b);
public weak Gdk.Pixbuf apply_embedded_orientation ();
@@ -190,6 +176,22 @@
[CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h")]
public class PixbufSimpleAnimIter : Gdk.PixbufAnimationIter {
}
+ [CCode (cheader_filename = "gdk-pixbuf/gdk-pixbuf.h")]
+ public struct Pixdata {
+ public uint magic;
+ public int length;
+ public uint pixdata_type;
+ public uint rowstride;
+ public uint width;
+ public uint height;
+ [NoArrayLength]
+ public weak uchar[] pixel_data;
+ [NoArrayLength]
+ public bool deserialize (uint stream_length, uchar[] stream) throws GLib.Error;
+ public pointer from_pixbuf (Gdk.Pixbuf pixbuf, bool use_rle);
+ public uchar serialize (uint stream_length_p);
+ public weak GLib.String to_csource (string name, Gdk.PixdataDumpType dump_type);
+ }
public static delegate void PixbufDestroyNotify (uchar[] pixels, pointer data);
public static delegate bool PixbufSaveFunc (string buf, ulong count, GLib.Error error, pointer data);
public const int PIXBUF_FEATURES_H;
Modified: trunk/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata (original)
+++ trunk/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata Wed Jan 23 21:05:08 2008
@@ -4,4 +4,6 @@
gdk_pixbuf_save_to_bufferv.option_values is_array="1"
gdk_pixbuf_save_to_callbackv.option_keys is_array="1"
gdk_pixbuf_save_to_callbackv.option_values is_array="1"
-
+GdkPixdata is_value_type="1"
+GdkPixdata.pixel_data is_array="1"
+gdk_pixdata_deserialize.stream is_array="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]