[vala/0.50] alsa: Fix PcmDevice.set_poll_descriptors_revents() binding



commit 93f279066fd0a5cfaf9bd455c6453f13cfc6c6fd
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Oct 21 17:04:31 2020 +0200

    alsa: Fix PcmDevice.set_poll_descriptors_revents() binding
    
    Fixes https://gitlab.gnome.org/GNOME/vala/issues/1092

 vapi/alsa.vapi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/alsa.vapi b/vapi/alsa.vapi
index 66148d776..91cf04162 100644
--- a/vapi/alsa.vapi
+++ b/vapi/alsa.vapi
@@ -536,7 +536,7 @@ namespace Alsa {
         [CCode (cname = "snd_pcm_poll_descriptors")]
         public int set_poll_descriptors( Posix.pollfd[] pfds );
         [CCode (cname = "snd_pcm_poll_descriptors_revents")]
-        public int set_poll_descriptors_revents( Posix.pollfd[] pfds, ushort[] revents );
+        public int set_poll_descriptors_revents( Posix.pollfd[] pfds, out ushort revents );
         [CCode (cname = "snd_pcm_nonblock")]
         public int set_nonblock( bool nonblock );
 


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