[vala/0.56] glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.56] glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50
- Date: Sat, 3 Sep 2022 12:46:51 +0000 (UTC)
commit 8ff9c6f4ef58fb0867969500ca72a6de44aa899d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Aug 17 08:46:18 2022 +0200
glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1350
vapi/glib-2.0.vapi | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 079d4fa50..549a11a49 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3856,7 +3856,11 @@ namespace GLib {
public static bool if_continued (int status);
[NoReturn]
+#if GLIB_2_50
+ [Version (since = "2.50")]
+#else
[CCode (cname = "abort", cheader_filename = "stdlib.h")]
+#endif
public void abort ();
[NoReturn]
[CCode (cname = "exit", cheader_filename = "stdlib.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]