vala r1031 - in trunk: . vapi vapi/packages/gtk+-2.0 vapigen



Author: juergbi
Date: Fri Feb 22 09:34:55 2008
New Revision: 1031
URL: http://svn.gnome.org/viewvc/vala?rev=1031&view=rev

Log:
2008-02-22  Juerg Billeter  <j bitron ch>

	* vapigen/valagidlparser.vala: support no_array_length metadata
	  attribute

	* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix
	  gtk_tree_path_get_indices binding, fixes bug 515410

	* vapi/gtk+-2.0.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gtk+-2.0.vapi
   trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
   trunk/vapigen/valagidlparser.vala

Modified: trunk/vapi/gtk+-2.0.vapi
==============================================================================
--- trunk/vapi/gtk+-2.0.vapi	(original)
+++ trunk/vapi/gtk+-2.0.vapi	Fri Feb 22 09:34:55 2008
@@ -1624,6 +1624,7 @@
 		public weak Gtk.TreePath copy ();
 		public void down ();
 		public int get_depth ();
+		[NoArrayLength]
 		public weak int[] get_indices ();
 		public bool is_ancestor (Gtk.TreePath descendant);
 		public bool is_descendant (Gtk.TreePath ancestor);

Modified: trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata	(original)
+++ trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata	Fri Feb 22 09:34:55 2008
@@ -197,7 +197,7 @@
 gtk_tree_model_filter_convert_iter_to_child_iter.child_iter is_out="1"
 gtk_tree_model_sort_convert_child_iter_to_iter.sort_iter is_out="1"
 gtk_tree_model_sort_convert_iter_to_child_iter.child_iter is_out="1"
-gtk_tree_path_get_indices is_array="1"
+gtk_tree_path_get_indices is_array="1" no_array_length="1"
 gtk_tree_path_new_from_indices sentinel="-1"
 GtkTreePath is_value_type="0"
 gtk_tree_row_reference_reordered.new_order is_array="1"

Modified: trunk/vapigen/valagidlparser.vala
==============================================================================
--- trunk/vapigen/valagidlparser.vala	(original)
+++ trunk/vapigen/valagidlparser.vala	Fri Feb 22 09:34:55 2008
@@ -1218,6 +1218,10 @@
 					if (eval (nv[1]) == "0") {
 						suppress_throws = true;
 					}
+				} else if (nv[0] == "no_array_length") {
+					if (eval (nv[1]) == "1") {
+						m.no_array_length = true;
+					}
 				}
 			}
 		}



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