[vala/0.54] 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.54] glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50
- Date: Wed, 7 Sep 2022 09:08:58 +0000 (UTC)
commit 45dd03bfba640f22087a514a6d8846ca69b3f5f6
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 206e3bef2..7ec802e23 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3825,7 +3825,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]