[vala] cairo: Fix cairo_image_surface_get_data binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] cairo: Fix cairo_image_surface_get_data binding
- Date: Sun, 16 Aug 2009 12:48:09 +0000 (UTC)
commit 82a79c3215f2e88f696b92a9534afe00d0daf893
Author: Michal Hruby <michal mhr gmail com>
Date: Sun Aug 16 13:35:35 2009 +0200
cairo: Fix cairo_image_surface_get_data binding
ImageSurface.get_data() method returns unowned data.
vapi/cairo.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/cairo.vapi b/vapi/cairo.vapi
index 40a2d9b..d43c852 100644
--- a/vapi/cairo.vapi
+++ b/vapi/cairo.vapi
@@ -460,7 +460,7 @@ namespace Cairo {
[CCode (cname = "cairo_image_surface_create_for_data")]
public ImageSurface.for_data ([CCode (array_length = false)] uchar[] data, Format format, int width, int height, int stride);
[CCode (array_length = false)]
- public uchar[] get_data ();
+ public weak uchar[] get_data ();
public Format get_format ();
public int get_width ();
public int get_height ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]