[vala/staging] 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] glib-2.0: Add binding for g_test_add()
- Date: Thu, 1 Nov 2018 22:13:06 +0000 (UTC)
commit ccf0df0102410211b7b12efe1afc62562c63453e
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..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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]