From: Rico Tzschichholz Date: Sun, 8 Oct 2017 11:14:32 +0000 (+0200) Subject: glib-2.0: Add binding for g_test_add() X-Git-Tag: 0.42.3~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=130bfceca45d9e78cf61c03c69786d18abc3bb59;p=thirdparty%2Fvala.git glib-2.0: Add binding for g_test_add() Fixes https://gitlab.gnome.org/GNOME/vala/issues/524 --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index ce924a70a..a6306ea2f 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -4377,6 +4377,8 @@ namespace GLib { [Version (since = "2.16")] public static int run (); [Version (since = "2.16")] + public static void add (string testpath, void* fixture, [CCode (delegate_target_pos = 2.9)] TestFixtureFunc fsetup, [CCode (delegate_target_pos = 2.9)] TestFixtureFunc ftest, [CCode (delegate_target_pos = 2.9)] TestFixtureFunc fteardown); + [Version (since = "2.16")] public static void add_func (string testpath, [CCode (scope = "async")] owned TestFunc test_funcvoid); [Version (since = "2.16")] public static void add_data_func (string testpath, [CCode (delegate_target_pos = 1.9, scope = "async")] owned TestDataFunc test_funcvoid);