[vala/0.10] pango: mark several arguments as out



commit fbc6032230fd0f55338a41def5b636a461810ea8
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Oct 23 16:50:32 2010 -0700

    pango: mark several arguments as out

 vapi/packages/pango/pango.metadata |    4 ++++
 vapi/pango.vapi                    |    6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/vapi/packages/pango/pango.metadata b/vapi/packages/pango/pango.metadata
index a7f248c..38ec377 100644
--- a/vapi/packages/pango/pango.metadata
+++ b/vapi/packages/pango/pango.metadata
@@ -53,6 +53,9 @@ PangoColor is_value_type="1"
 pango_extents_to_pixels.inclusive is_ref="1"
 pango_extents_to_pixels.nearest is_ref="1"
 pango_get_log_attrs.log_attrs is_array="1"
+pango_get_log_attrs.attrs_len hidden="1"
+pango_find_paragraph_boundary.paragraph_delimiter_index is_out="1"
+pango_find_paragraph_boundary.next_paragraph_start is_out="1"
 pango_font_get_glyph_extents.ink_rect is_out="1"
 pango_font_get_glyph_extents.logical_rect is_out="1"
 # PangoFontDescription should be opaque value type
@@ -71,6 +74,7 @@ pango_layout_get_cursor_pos.strong_pos is_out="1"
 pango_layout_get_cursor_pos.weak_pos is_out="1"
 pango_layout_get_extents.ink_rect is_out="1"
 pango_layout_get_extents.logical_rect is_out="1"
+pango_layout_get_log_attrs.attrs is_array="1" is_out="1" transfer_ownership="1"
 pango_layout_get_pixel_extents.ink_rect is_out="1"
 pango_layout_get_pixel_extents.logical_rect is_out="1"
 pango_layout_get_pixel_size.width is_out="1"
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 4205893..53f0359 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -355,7 +355,7 @@ namespace Pango {
 		public unowned Pango.LayoutLine get_line_readonly (int line);
 		public unowned GLib.SList get_lines ();
 		public unowned GLib.SList get_lines_readonly ();
-		public void get_log_attrs (Pango.LogAttr[] attrs);
+		public void get_log_attrs (out Pango.LogAttr[] attrs);
 		public void get_pixel_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);
 		public void get_pixel_size (out int width, out int height);
 		public bool get_single_paragraph_mode ();
@@ -902,9 +902,9 @@ namespace Pango {
 	[CCode (cheader_filename = "pango/pango.h")]
 	public static Pango.Direction find_base_dir (string text, int length);
 	[CCode (cheader_filename = "pango/pango.h")]
-	public static void find_paragraph_boundary (string text, int length, int paragraph_delimiter_index, int next_paragraph_start);
+	public static void find_paragraph_boundary (string text, int length, out int paragraph_delimiter_index, out int next_paragraph_start);
 	[CCode (cheader_filename = "pango/pango.h")]
-	public static void get_log_attrs (string text, int length, int level, Pango.Language language, Pango.LogAttr[] log_attrs, int attrs_len);
+	public static void get_log_attrs (string text, int length, int level, Pango.Language language, Pango.LogAttr[] log_attrs);
 	[CCode (cheader_filename = "pango/pango.h")]
 	public static Pango.Gravity gravity_get_for_matrix (Pango.Matrix matrix);
 	[CCode (cheader_filename = "pango/pango.h")]



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