vala r1857 - in trunk: . vapi



Author: juergbi
Date: Fri Oct 17 16:40:00 2008
New Revision: 1857
URL: http://svn.gnome.org/viewvc/vala?rev=1857&view=rev

Log:
2008-10-17  JÃrg Billeter  <j bitron ch>

	* vapi/glib-2.0.vapi:

	Add g_test_add_data_func binding


Modified:
   trunk/ChangeLog
   trunk/vapi/glib-2.0.vapi

Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi	(original)
+++ trunk/vapi/glib-2.0.vapi	Fri Oct 17 16:40:00 2008
@@ -2939,6 +2939,7 @@
 		public static bool quiet ();
 		public static int run ();
 		public static void add_func (string testpath, Callback test_funcvoid);
+		public static void add_data_func (string testpath, [CCode (delegate_target_pos = 1.9)] DataTestFunc test_funcvoid);
 		[PrintfFormat]
 		public static void message (string format, ...);
 		public static void bug_base (string uri_pattern);
@@ -2962,6 +2963,8 @@
 		public static double rand_double_range ();
 	}
 
+	public delegate void DataTestFunc ();
+
 	[Flags]
 	[CCode (cprefix = "G_TEST_TRAP_", has_type_id = false)]
 	public enum TestTrapFlags {



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