Add g_test_add_data_func binding
authorJürg Billeter <j@bitron.ch>
Fri, 17 Oct 2008 16:40:00 +0000 (16:40 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 17 Oct 2008 16:40:00 +0000 (16:40 +0000)
2008-10-17  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Add g_test_add_data_func binding

svn path=/trunk/; revision=1857

ChangeLog
vapi/glib-2.0.vapi

index 18cda12..5a04bf1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-10-17  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/glib-2.0.vapi:
+
+       Add g_test_add_data_func binding
+
+2008-10-17  Jürg Billeter  <j@bitron.ch>
+
        * gobject/valaccodegenerator.vala:
 
        Use defines also for internal constants to fix string constant
index 5e2270f..563bbcb 100644 (file)
@@ -2939,6 +2939,7 @@ namespace GLib {
                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 @@ namespace GLib {
                public static double rand_double_range ();
        }
 
+       public delegate void DataTestFunc ();
+
        [Flags]
        [CCode (cprefix = "G_TEST_TRAP_", has_type_id = false)]
        public enum TestTrapFlags {