[vala] glib-2.0: Add [NoReturn] to Process.exit() and Process.abort().



commit 335da14bb479a344343f89dd8ac348c22be23305
Author: Luca Bruno <lucabru src gnome org>
Date:   Sun Sep 5 11:21:35 2010 +0200

    glib-2.0: Add [NoReturn] to Process.exit() and Process.abort().

 vapi/glib-2.0.vapi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index a81682d..a8c668f 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2614,8 +2614,10 @@ namespace GLib {
 		[CCode (cname = "WIFCONTINUED", cheader_filename = "sys/wait.h")]
 		public static bool if_continued (int status);
 
+		[NoReturn]
 		[CCode (cname = "abort", cheader_filename = "stdlib.h")]
 		public void abort ();
+		[NoReturn]
 		[CCode (cname = "exit", cheader_filename = "stdlib.h")]
 		public void exit (int status);
 		[CCode (cname = "raise", cheader_filename = "signal.h")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]