[vala/staging: 1/2] glib-2.0: Add binding for g_test_add()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 1/2] glib-2.0: Add binding for g_test_add()
- Date: Thu, 1 Nov 2018 21:25:21 +0000 (UTC)
commit cc4146b2f6dbed398b495d631a228137c88545c9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Oct 8 13:14:32 2017 +0200
glib-2.0: Add binding for g_test_add()
Fixes https://gitlab.gnome.org/GNOME/vala/issues/524
vapi/glib-2.0.vapi | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index ce924a70a..6bec32b53 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,
scope = "async")] TestFixtureFunc fsetup, [CCode (delegate_target_pos = 2.9, scope = "async")]
TestFixtureFunc ftest, [CCode (delegate_target_pos = 2.9, scope = "async")] 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]