From: Travis Reitter Date: Thu, 29 Apr 2010 21:09:45 +0000 (-0700) Subject: glib-2.0: fix argument type of several TestCase constructor arguments X-Git-Tag: 0.9.1~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2aadd1cefc2b70e1a12038f93d850dd62e3b39e2;p=thirdparty%2Fvala.git glib-2.0: fix argument type of several TestCase constructor arguments Fixes bug 617193. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 6abd85256..fb2aa4cce 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3134,7 +3134,7 @@ namespace GLib { [CCode (cname = "GTestCase", ref_function = "", unref_function = "")] public class TestCase { [CCode (cname = "g_test_create_case")] - public TestCase (string test_name, [CCode (delegate_target_pos = 1.9, type = "void (*) ()")] TestFunc data_setup, [CCode (delegate_target_pos = 1.9, type = "void (*) ()")] TestFunc data_func, [CCode (delegate_target_pos = 1.9, type = "void (*) ()")] TestFunc data_teardown, [CCode (pos = 1.8)] size_t data_size = 0); + public TestCase (string test_name, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_setup, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_func, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_teardown, [CCode (pos = 1.8)] size_t data_size = 0); } [Compact]