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



commit 3dafe1097f3d838e82ea85679dd00e4a341d8b48
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 b9ef0b0..1274a2b 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1237,17 +1237,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]