[vala/0.36: 189/212] posix: Fix sig*set and sigprocmask parameters to be out/ref



commit 53896e204f72db8aa851b2a8ccb49fe132bdcad2
Author: Luca Bruno <lucabru src gnome org>
Date:   Sat Apr 5 18:47:46 2014 +0200

    posix: Fix sig*set and sigprocmask parameters to be out/ref
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727425

 vapi/posix.vapi |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 50b0045..fa60996 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1051,17 +1051,17 @@ namespace Posix {
        [CCode (cheader_filename = "signal.h")]
        public int raise (int signum);
        [CCode (cheader_filename = "signal.h")]
-       public int sigemptyset (sigset_t sigset);
+       public int sigemptyset (out sigset_t sigset);
        [CCode (cheader_filename = "signal.h")]
-       public int sigfillset (sigset_t sigset);
+       public int sigfillset (out sigset_t sigset);
        [CCode (cheader_filename = "signal.h")]
-       public int sigaddset (sigset_t sigset, int signo);
+       public int sigaddset (ref sigset_t sigset, int signo);
        [CCode (cheader_filename = "signal.h")]
-       public int sigdelset (sigset_t sigset, int __signo);
+       public int sigdelset (ref sigset_t sigset, int __signo);
        [CCode (cheader_filename = "signal.h")]
        public int sigismember (sigset_t sigset, int __signo);
        [CCode (cheader_filename = "signal.h")]
-       public int sigprocmask (int how, sigset_t sigset, sigset_t oset);
+       public int sigprocmask (int how, sigset_t sigset, out sigset_t oset);
        [CCode (cheader_filename = "signal.h")]
        public int sigqueue (pid_t pid, int signum, sigval_t val);
        [CCode (cheader_filename = "signal.h")]


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