mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Larry Ewing](/assets/img/avatar_default.png)
* gdk/Makefile.am (sources): add Pixdata.custom * gdk/Pixdata.custom: add new file to fix Serialize. * gnome/CanvasItem.custom: remove the incorrect custom bindings. * gnome/Gnome.metadata: stop hiding the AffineRelative and AffineAbsolute the generator gets them right they are not out params. * gdk/Gdk.metadata: mark the Pixdata byte stream as and array hide the broken serialize method. svn path=/trunk/gtk-sharp/; revision=29941
17 lines
377 B
Plaintext
17 lines
377 B
Plaintext
// Pixdata.Custom
|
|
//
|
|
// (C) 2004 Novell, Inc.
|
|
|
|
[DllImport("libgdk_pixbuf-2.0-0.dll")]
|
|
static extern IntPtr gdk_pixdata_serialize (ref Gdk.Pixdata raw, out uint len);
|
|
|
|
public byte [] Serialize () {
|
|
uint len;
|
|
IntPtr raw_ret = gdk_pixdata_serialize (ref this, out len);
|
|
|
|
byte [] data = new byte [len];
|
|
Marshal.Copy (raw_ret, data, 0, (int)len);
|
|
|
|
return data;
|
|
}
|