[vala] cairo: Fix cairo_*_extents bindings



commit 11f0b29176d6cc4a61875271f0920e84ac7ee682
Author: Jürg Billeter <j bitron ch>
Date:   Tue Apr 7 15:27:50 2009 +0200

    cairo: Fix cairo_*_extents bindings
---
 vapi/cairo.vapi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/vapi/cairo.vapi b/vapi/cairo.vapi
index 3eb23ae..f7f15f9 100644
--- a/vapi/cairo.vapi
+++ b/vapi/cairo.vapi
@@ -145,11 +145,11 @@ namespace Cairo {
 		public void show_glyphs (Glyph[] glyphs);
 		
 		public weak FontFace get_font_face ();
-		public void font_extents (ref FontExtents extents);
+		public void font_extents (out FontExtents extents);
 		public void set_font_face (FontFace font_face);
 		public void set_scaled_font (ScaledFont font);
-		public void text_extents (string utf8, ref TextExtents extents);
-		public void glyph_extents (Glyph[] glyphs, ref TextExtents extents);
+		public void text_extents (string utf8, out TextExtents extents);
+		public void glyph_extents (Glyph[] glyphs, out TextExtents extents);
 	}
 	
 	public enum Antialias {



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