[vala/0.12] cairo: Fix cairo_read_func_t and cairo_write_func_t bindings



commit fad7f4ac71e387efdcad0c51844427bbd0f5867f
Author: Marin Moulinier <marin star1 gmail com>
Date:   Tue Apr 5 21:37:48 2011 +0200

    cairo: Fix cairo_read_func_t and cairo_write_func_t bindings
    
    Fixes bug 645766.

 vapi/cairo.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/cairo.vapi b/vapi/cairo.vapi
index bc2d8cd..7c3b91c 100644
--- a/vapi/cairo.vapi
+++ b/vapi/cairo.vapi
@@ -517,9 +517,9 @@ namespace Cairo {
 		public void set_size (double width_in_points, double height_in_points);
 	}
 	
-	[CCode (instance_pos = 0)]
+	[CCode (instance_pos = 0, cname = "cairo_read_func_t")]
 	public delegate Status ReadFunc (uchar[] data);
-	[CCode (instance_pos = 0)]
+	[CCode (instance_pos = 0, cname = "cairo_write_func_t")]
 	public delegate Status WriteFunc (uchar[] data);
 	
 	[Compact]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]