From 2aadd1cefc2b70e1a12038f93d850dd62e3b39e2 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Thu, 29 Apr 2010 14:09:45 -0700 Subject: [PATCH] glib-2.0: fix argument type of several TestCase constructor arguments Fixes bug 617193. --- vapi/glib-2.0.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.47.3