[vala/0.48] 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.48] glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50
- Date: Wed, 7 Sep 2022 09:08:52 +0000 (UTC)
commit 891af3729d06fe2d39407f5cbba184f699e870cb
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 96c1e2306..915fbbb26 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3711,7 +3711,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]