From dc65a0345410ec8a8e5f8ef467e6678ffbf4b73f Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Sat, 5 May 2018 21:37:03 +0100 Subject: vala: Fix lengths for source/sink port arrays --- vala/libpulse.vapi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vala') diff --git a/vala/libpulse.vapi b/vala/libpulse.vapi index f54f1ae03..f0e6f7b3d 100644 --- a/vala/libpulse.vapi +++ b/vala/libpulse.vapi @@ -1288,6 +1288,7 @@ namespace PulseAudio { public uint32 n_volume_steps; public uint32 card; public uint32 n_ports; + [CCode (array_length_cname="n_ports")] public SinkPortInfo*[] ports; public SinkPortInfo* active_port; } @@ -1321,6 +1322,7 @@ namespace PulseAudio { public uint32 n_volume_steps; public uint32 card; public uint32 n_ports; + [CCode (array_length_cname="n_ports")] public SourcePortInfo*[] ports; public SourcePortInfo* active_port; } -- cgit v1.2.1