mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 13:05:49 +00:00
b39bc105e6
* 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;
|
|
}
|