[vala/wip/girparser: 3/3] Regenerate GIR-based bindings



commit 1efb947c15eb682383240dd09a181b5818b22156
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue May 31 17:04:54 2016 +0200

    Regenerate GIR-based bindings

 vapi/atspi-2.vapi             |    4 +-
 vapi/clutter-1.0.vapi         |   10 +++---
 vapi/gdk-3.0.vapi             |    6 ++--
 vapi/gdk-pixbuf-2.0.vapi      |    2 +-
 vapi/gio-2.0.vapi             |   36 ++++++++++++------------
 vapi/graphene-1.0.vapi        |   24 ++++++++--------
 vapi/gstreamer-1.0.vapi       |    4 +-
 vapi/gstreamer-audio-1.0.vapi |    8 +++---
 vapi/gstreamer-base-1.0.vapi  |    4 +-
 vapi/gstreamer-rtp-1.0.vapi   |   12 ++++----
 vapi/gstreamer-sdp-1.0.vapi   |    8 +++---
 vapi/gstreamer-video-1.0.vapi |   60 ++++++++++++++++++++--------------------
 vapi/pango.vapi               |    8 +++---
 vapi/poppler-glib.vapi        |   12 ++++----
 14 files changed, 99 insertions(+), 99 deletions(-)
---
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi
index faad39c..4ea469d 100644
--- a/vapi/atspi-2.vapi
+++ b/vapi/atspi-2.vapi
@@ -143,8 +143,8 @@ namespace Atspi {
                public weak GLib.Array<void*> interfaces;
                public bool invert;
                public Atspi.CollectionMatchType rolematchtype;
-               [CCode (array_length = false, array_null_terminated = true)]
-               public weak int[] roles;
+               [CCode (array_length = false)]
+               public weak int roles[4];
                public Atspi.CollectionMatchType statematchtype;
                public weak Atspi.StateSet states;
                [CCode (has_construct_function = false)]
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index e4f0ffe..3b6460b 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -4740,7 +4740,7 @@ namespace Clutter {
                [Version (since = "0.6")]
                public bool emit_event (Clutter.Event event, bool capture);
                [Version (since = "0.4")]
-               public void get_abs_allocation_vertices ([CCode (array_length = false)] Clutter.Vertex[] 
verts);
+               public void get_abs_allocation_vertices ([CCode (array_length = false)] Clutter.Vertex 
verts[4]);
                public virtual unowned Atk.Object get_accessible ();
                [Version (since = "1.4")]
                public unowned Clutter.Action get_action (string name);
@@ -4751,7 +4751,7 @@ namespace Clutter {
                [Version (deprecated = true, deprecated_since = "1.12", since = "0.8")]
                public Clutter.Geometry get_allocation_geometry ();
                [Version (since = "0.6")]
-               public void get_allocation_vertices (Clutter.Actor? ancestor, [CCode (array_length = false)] 
Clutter.Vertex[] verts);
+               public void get_allocation_vertices (Clutter.Actor? ancestor, [CCode (array_length = false)] 
Clutter.Vertex verts[4]);
                [Version (deprecated = true, deprecated_since = "1.12", since = "0.6")]
                public void get_anchor_point (out float anchor_x, out float anchor_y);
                [Version (deprecated = true, deprecated_since = "1.12", since = "1.0")]
@@ -8320,7 +8320,7 @@ namespace Clutter {
                public static void free (Clutter.Matrix? matrix);
                public static GLib.Type get_type ();
                [Version (since = "1.12")]
-               public static unowned Clutter.Matrix? init_from_array (Clutter.Matrix matrix, [CCode 
(array_length = false)] float[] values);
+               public static unowned Clutter.Matrix? init_from_array (Clutter.Matrix matrix, [CCode 
(array_length = false)] float values[16]);
                [Version (since = "1.12")]
                public static unowned Clutter.Matrix? init_from_matrix (Clutter.Matrix a, Clutter.Matrix b);
                [Version (since = "1.12")]
@@ -8330,8 +8330,8 @@ namespace Clutter {
        [Version (since = "1.0")]
        public struct PathNode {
                public Clutter.PathNodeType type;
-               [CCode (array_length = false, array_null_terminated = true)]
-               public weak Clutter.Knot[] points;
+               [CCode (array_length = false)]
+               public weak Clutter.Knot points[3];
                public Clutter.PathNode? copy ();
                public bool equal (Clutter.PathNode node_b);
                public void free ();
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 34e29fd..3a1c73a 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -5106,7 +5106,7 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gdk_event_get_type ()")]
        [Compact]
        public class EventMotion : Gdk.Event {
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public weak double[] axes;
                public weak Gdk.Device device;
                public int16 is_hint;
@@ -5899,8 +5899,8 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
        public struct TimeCoord {
                public uint32 time;
-               [CCode (array_length = false, array_null_terminated = true)]
-               public weak double[] axes;
+               [CCode (array_length = false)]
+               public weak double axes[128];
        }
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
        public struct WindowAttr {
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index 1374e66..66ad074 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -232,7 +232,7 @@ namespace Gdk {
                public uint32 rowstride;
                public uint32 width;
                public uint32 height;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public weak uint8[] pixel_data;
                [Version (deprecated = true, deprecated_since = "2.32")]
                public bool deserialize ([CCode (array_length_cname = "stream_length", array_length_pos = 
0.5, array_length_type = "guint")] uint8[] stream) throws GLib.Error;
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 5d470e9..305d580 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -581,7 +581,7 @@ namespace GLib {
        [Compact]
        [Version (since = "2.26")]
        public class DBusAnnotationInfo {
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusAnnotationInfo[] annotations;
                public string key;
                public int ref_count;
@@ -593,7 +593,7 @@ namespace GLib {
        [Compact]
        [Version (since = "2.26")]
        public class DBusArgInfo {
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusAnnotationInfo[] annotations;
                public string name;
                public int ref_count;
@@ -684,15 +684,15 @@ namespace GLib {
        [Compact]
        [Version (since = "2.26")]
        public class DBusInterfaceInfo {
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusAnnotationInfo[] annotations;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusMethodInfo[] methods;
                public string name;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusPropertyInfo[] properties;
                public int ref_count;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusSignalInfo[] signals;
                [Version (since = "2.30")]
                public void cache_build ();
@@ -806,12 +806,12 @@ namespace GLib {
        [Compact]
        [Version (since = "2.26")]
        public class DBusMethodInfo {
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusAnnotationInfo[] annotations;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusArgInfo[] in_args;
                public string name;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusArgInfo[] out_args;
                public int ref_count;
                public GLib.DBusMethodInfo @ref ();
@@ -848,11 +848,11 @@ namespace GLib {
        [Compact]
        [Version (since = "2.26")]
        public class DBusNodeInfo {
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusAnnotationInfo[] annotations;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusInterfaceInfo[] interfaces;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusNodeInfo[] nodes;
                public string path;
                public int ref_count;
@@ -941,7 +941,7 @@ namespace GLib {
        [Compact]
        [Version (since = "2.26")]
        public class DBusPropertyInfo {
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusAnnotationInfo[] annotations;
                public GLib.DBusPropertyInfoFlags flags;
                public string name;
@@ -1031,9 +1031,9 @@ namespace GLib {
        [Compact]
        [Version (since = "2.26")]
        public class DBusSignalInfo {
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusAnnotationInfo[] annotations;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public GLib.DBusArgInfo[] args;
                public string name;
                public int ref_count;
@@ -3740,12 +3740,12 @@ namespace GLib {
        [Version (since = "2.48")]
        public struct InputMessage {
                public weak GLib.SocketAddress address;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public weak GLib.InputVector[] vectors;
                public uint num_vectors;
                public size_t bytes_received;
                public int flags;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public weak GLib.SocketControlMessage[] control_messages;
                public uint num_control_messages;
        }
@@ -3762,7 +3762,7 @@ namespace GLib {
                public GLib.OutputVector vectors;
                public uint num_vectors;
                public uint bytes_sent;
-               [CCode (array_length = false, array_null_terminated = true)]
+               [CCode (array_length = false)]
                public weak GLib.SocketControlMessage[] control_messages;
                public uint num_control_messages;
        }
diff --git a/vapi/graphene-1.0.vapi b/vapi/graphene-1.0.vapi
index 93ec09b..56cc110 100644
--- a/vapi/graphene-1.0.vapi
+++ b/vapi/graphene-1.0.vapi
@@ -19,7 +19,7 @@ namespace Graphene {
                public Graphene.Point3D get_max ();
                public Graphene.Point3D get_min ();
                public Graphene.Vec3 get_size ();
-               public void get_vertices ([CCode (array_length = false)] ref Graphene.Vec3[] vertices);
+               public void get_vertices ([CCode (array_length = false)] ref Graphene.Vec3 vertices[8]);
                public float get_width ();
                public static unowned Graphene.Box? infinite ();
                public unowned Graphene.Box? init (Graphene.Point3D? min, Graphene.Point3D? max);
@@ -56,7 +56,7 @@ namespace Graphene {
        [Version (since = "1.2")]
        public struct Frustum {
                public bool contains_point (Graphene.Point3D point);
-               public void get_planes ([CCode (array_length = false)] ref Graphene.Plane[] planes);
+               public void get_planes ([CCode (array_length = false)] ref Graphene.Plane planes[6]);
                public unowned Graphene.Frustum? init (Graphene.Plane p0, Graphene.Plane p1, Graphene.Plane 
p2, Graphene.Plane p3, Graphene.Plane p4, Graphene.Plane p5);
                public unowned Graphene.Frustum? init_from_frustum (Graphene.Frustum src);
                public unowned Graphene.Frustum? init_from_matrix (Graphene.Matrix matrix);
@@ -80,7 +80,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public unowned Graphene.Matrix? init_from_2d (double xx, double yx, double xy, double yy, 
double x_0, double y_0);
                [Version (since = "1.0")]
-               public unowned Graphene.Matrix? init_from_float ([CCode (array_length = false)] float[] v);
+               public unowned Graphene.Matrix? init_from_float ([CCode (array_length = false)] float v[16]);
                [Version (since = "1.0")]
                public unowned Graphene.Matrix? init_from_matrix (Graphene.Matrix src);
                [Version (since = "1.0")]
@@ -152,7 +152,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public bool to_2d (out double xx, out double yx, out double xy, out double yy, out double 
x_0, out double y_0);
                [Version (since = "1.0")]
-               public void to_float ([CCode (array_length = false)] ref float[] v);
+               public void to_float ([CCode (array_length = false)] ref float v[16]);
                [Version (since = "1.0")]
                public Graphene.Rect transform_bounds (Graphene.Rect r);
                [Version (since = "1.2")]
@@ -246,7 +246,7 @@ namespace Graphene {
                public unowned Graphene.Point? get_point (uint index_);
                public unowned Graphene.Quad? init (Graphene.Point p1, Graphene.Point p2, Graphene.Point p3, 
Graphene.Point p4);
                [Version (since = "1.2")]
-               public unowned Graphene.Quad? init_from_points ([CCode (array_length = false)] 
Graphene.Point[] points);
+               public unowned Graphene.Quad? init_from_points ([CCode (array_length = false)] Graphene.Point 
points[4]);
                public unowned Graphene.Quad? init_from_rect (Graphene.Rect r);
        }
        [CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_quaternion_t", type_id = 
"graphene_quaternion_get_type ()")]
@@ -307,7 +307,7 @@ namespace Graphene {
                public Graphene.Point get_top_left ();
                public Graphene.Point get_top_right ();
                [Version (since = "1.4")]
-               public void get_vertices ([CCode (array_length = false)] ref Graphene.Vec2[] vertices);
+               public void get_vertices ([CCode (array_length = false)] ref Graphene.Vec2 vertices[4]);
                public float get_width ();
                public float get_x ();
                public float get_y ();
@@ -392,7 +392,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public unowned Graphene.Vec2? init (float x, float y);
                [Version (since = "1.0")]
-               public unowned Graphene.Vec2? init_from_float ([CCode (array_length = false)] float[] src);
+               public unowned Graphene.Vec2? init_from_float ([CCode (array_length = false)] float src[2]);
                [Version (since = "1.0")]
                public unowned Graphene.Vec2? init_from_vec2 (Graphene.Vec2 src);
                [Version (since = "1.0")]
@@ -416,7 +416,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public Graphene.Vec2 subtract (Graphene.Vec2 b);
                [Version (since = "1.0")]
-               public void to_float ([CCode (array_length = false)] ref float[] dest);
+               public void to_float ([CCode (array_length = false)] ref float dest[2]);
                [Version (since = "1.0")]
                public static unowned Graphene.Vec2? x_axis ();
                [Version (since = "1.0")]
@@ -455,7 +455,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public unowned Graphene.Vec3? init (float x, float y, float z);
                [Version (since = "1.0")]
-               public unowned Graphene.Vec3? init_from_float ([CCode (array_length = false)] float[] src);
+               public unowned Graphene.Vec3? init_from_float ([CCode (array_length = false)] float src[3]);
                [Version (since = "1.0")]
                public unowned Graphene.Vec3? init_from_vec3 (Graphene.Vec3 src);
                [Version (since = "1.0")]
@@ -479,7 +479,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public Graphene.Vec3 subtract (Graphene.Vec3 b);
                [Version (since = "1.0")]
-               public void to_float ([CCode (array_length = false)] ref float[] dest);
+               public void to_float ([CCode (array_length = false)] ref float dest[3]);
                [Version (since = "1.0")]
                public static unowned Graphene.Vec3? x_axis ();
                [Version (since = "1.0")]
@@ -514,7 +514,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public unowned Graphene.Vec4? init (float x, float y, float z, float w);
                [Version (since = "1.0")]
-               public unowned Graphene.Vec4? init_from_float ([CCode (array_length = false)] float[] src);
+               public unowned Graphene.Vec4? init_from_float ([CCode (array_length = false)] float src[4]);
                [Version (since = "1.0")]
                public unowned Graphene.Vec4? init_from_vec2 (Graphene.Vec2 src, float z, float w);
                [Version (since = "1.0")]
@@ -542,7 +542,7 @@ namespace Graphene {
                [Version (since = "1.0")]
                public Graphene.Vec4 subtract (Graphene.Vec4 b);
                [Version (since = "1.0")]
-               public void to_float ([CCode (array_length = false)] ref float[] dest);
+               public void to_float ([CCode (array_length = false)] ref float dest[4]);
                [Version (since = "1.0")]
                public static unowned Graphene.Vec4? w_axis ();
                [Version (since = "1.0")]
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 8a04e7a..410c7db 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -2549,8 +2549,8 @@ namespace Gst {
                public weak uint8[] data;
                public size_t size;
                public size_t maxsize;
-               [CCode (array_length = false, array_null_terminated = true)]
-               public weak void*[] user_data;
+               [CCode (array_length = false)]
+               public weak void* user_data[4];
        }
        [CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
        public struct Meta {
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 3fce83f..c5bb28a 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -291,8 +291,8 @@ namespace Gst {
                        public Gst.Audio.FormatInfo finfo;
                        public Gst.Audio.Flags flags;
                        public Gst.Audio.Layout layout;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak Gst.Audio.ChannelPosition[] position;
+                       [CCode (array_length = false)]
+                       public weak Gst.Audio.ChannelPosition position[64];
                        public int rate;
                        [CCode (has_construct_function = false)]
                        public Info ();
@@ -456,8 +456,8 @@ namespace Gst {
                        public int endianness;
                        public int width;
                        public int depth;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint8[] silence;
+                       [CCode (array_length = false)]
+                       public weak uint8 silence[8];
                        public Gst.Audio.Format unpack_format;
                        public weak Gst.Audio.FormatUnpack unpack_func;
                        public weak Gst.Audio.FormatPack pack_func;
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index cd4825f..3544c57 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -50,7 +50,7 @@ namespace Gst {
                public class BitReader {
                        public uint bit;
                        public uint byte;
-                       [CCode (array_length = false, array_null_terminated = true)]
+                       [CCode (array_length = false)]
                        public weak uint8[] data;
                        public BitReader ([CCode (array_length_type = "guint")] uint8[] data);
                        [CCode (cname = "gst_bit_reader_free")]
@@ -91,7 +91,7 @@ namespace Gst {
                [GIR (name = "ByteReader")]
                public class ByteReader {
                        public uint byte;
-                       [CCode (array_length = false, array_null_terminated = true)]
+                       [CCode (array_length = false)]
                        public weak uint8[] data;
                        public ByteReader ([CCode (array_length_type = "guint")] uint8[] data);
                        [CCode (cname = "gst_byte_reader_dup_data")]
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index c2ca95d..682ef77 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -98,12 +98,12 @@ namespace Gst {
                [Compact]
                [GIR (name = "RTPBuffer")]
                public class Buffer : Gst.Buffer {
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak void*[] data;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public Gst.MapInfo[] map;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak size_t[] size;
+                       [CCode (array_length = false)]
+                       public weak void* data[4];
+                       [CCode (array_length = false)]
+                       public Gst.MapInfo map[4];
+                       [CCode (array_length = false)]
+                       public weak size_t size[4];
                        public uint state;
                        public bool add_extension_onebyte_header (uint8 id, [CCode (array_length_cname = 
"size", array_length_pos = 2.1, array_length_type = "guint")] uint8[] data);
                        public bool add_extension_twobytes_header (uint8 appbits, uint8 id, [CCode 
(array_length_cname = "size", array_length_pos = 3.1, array_length_type = "guint")] uint8[] data);
diff --git a/vapi/gstreamer-sdp-1.0.vapi b/vapi/gstreamer-sdp-1.0.vapi
index a59e9d6..71aaf0c 100644
--- a/vapi/gstreamer-sdp-1.0.vapi
+++ b/vapi/gstreamer-sdp-1.0.vapi
@@ -141,10 +141,10 @@ namespace Gst {
                        public uint8 key_data;
                        public uint16 key_len;
                        public Gst.SDP.MIKEYKeyDataType key_type;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint8[] kv_data;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint8[] kv_len;
+                       [CCode (array_length = false)]
+                       public weak uint8 kv_data[2];
+                       [CCode (array_length = false)]
+                       public weak uint8 kv_len[2];
                        public Gst.SDP.MIKEYKVType kv_type;
                        public uint8 salt_data;
                        public uint16 salt_len;
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index e9f7c9f..826674e 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -250,13 +250,13 @@ namespace Gst {
                        public int fps_n;
                        public int height;
                        public Gst.Video.InterlaceMode interlace_mode;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak size_t[] offset;
+                       [CCode (array_length = false)]
+                       public weak size_t offset[4];
                        public int par_d;
                        public int par_n;
                        public size_t size;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak int[] stride;
+                       [CCode (array_length = false)]
+                       public weak int stride[4];
                        public int views;
                        public int width;
                        [CCode (has_construct_function = false)]
@@ -408,8 +408,8 @@ namespace Gst {
                [GIR (name = "VideoAffineTransformationMeta")]
                public struct AffineTransformationMeta {
                        public Gst.Meta meta;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak float[] matrix;
+                       [CCode (array_length = false)]
+                       public weak float matrix[16];
                        [Version (since = "1.8")]
                        public void apply_matrix (float matrix);
                }
@@ -420,8 +420,8 @@ namespace Gst {
                        public uint padding_bottom;
                        public uint padding_left;
                        public uint padding_right;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint[] stride_align;
+                       [CCode (array_length = false)]
+                       public weak uint stride_align[4];
                        public void reset ();
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
@@ -469,21 +469,21 @@ namespace Gst {
                        public Gst.Video.FormatFlags flags;
                        public uint bits;
                        public uint n_components;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint[] shift;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint[] depth;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak int[] pixel_stride;
+                       [CCode (array_length = false)]
+                       public weak uint shift[4];
+                       [CCode (array_length = false)]
+                       public weak uint depth[4];
+                       [CCode (array_length = false)]
+                       public weak int pixel_stride[4];
                        public uint n_planes;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint[] plane;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint[] poffset;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint[] w_sub;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak uint[] h_sub;
+                       [CCode (array_length = false)]
+                       public weak uint plane[4];
+                       [CCode (array_length = false)]
+                       public weak uint poffset[4];
+                       [CCode (array_length = false)]
+                       public weak uint w_sub[4];
+                       [CCode (array_length = false)]
+                       public weak uint h_sub[4];
                        public Gst.Video.Format unpack_format;
                        public weak Gst.Video.FormatUnpack unpack_func;
                        public int pack_lines;
@@ -500,8 +500,8 @@ namespace Gst {
                        public weak Gst.Buffer buffer;
                        public void* meta;
                        public int id;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak void*[] data;
+                       [CCode (array_length = false)]
+                       public weak void* data[4];
                        public bool copy (Gst.Video.Frame src);
                        public bool copy_plane (Gst.Video.Frame src, uint plane);
                        public bool map (Gst.Video.Info info, Gst.Buffer buffer, Gst.MapFlags flags);
@@ -514,8 +514,8 @@ namespace Gst {
                        public Gst.Meta meta;
                        public Gst.Video.GLTextureOrientation texture_orientation;
                        public uint n_textures;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak Gst.Video.GLTextureType[] texture_type;
+                       [CCode (array_length = false)]
+                       public weak Gst.Video.GLTextureType texture_type[4];
                        public bool upload (uint texture_id);
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
@@ -529,10 +529,10 @@ namespace Gst {
                        public uint width;
                        public uint height;
                        public uint n_planes;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak size_t[] offset;
-                       [CCode (array_length = false, array_null_terminated = true)]
-                       public weak int[] stride;
+                       [CCode (array_length = false)]
+                       public weak size_t offset[4];
+                       [CCode (array_length = false)]
+                       public weak int stride[4];
                        public bool map (uint plane, Gst.MapInfo info, void* data, int stride, Gst.MapFlags 
flags);
                        public bool unmap (uint plane, Gst.MapInfo info);
                }
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index a25a9b8..09e2a70 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -735,10 +735,10 @@ namespace Pango {
        }
        [CCode (cheader_filename = "pango/pango.h", has_type_id = false)]
        public struct ScriptForLang {
-               [CCode (array_length = false, array_null_terminated = true)]
-               public weak char[] lang;
-               [CCode (array_length = false, array_null_terminated = true)]
-               public weak Pango.Script[] scripts;
+               [CCode (array_length = false)]
+               public weak char lang[7];
+               [CCode (array_length = false)]
+               public weak Pango.Script scripts[3];
        }
        [CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_ALIGN_", type_id = 
"pango_alignment_get_type ()")]
        public enum Alignment {
diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi
index 0cd5aeb..2bef477 100644
--- a/vapi/poppler-glib.vapi
+++ b/vapi/poppler-glib.vapi
@@ -624,11 +624,11 @@ namespace Poppler {
                [Version (since = "0.26")]
                public Poppler.StructureBlockAlign get_block_align ();
                [Version (since = "0.26")]
-               public bool get_border_color ([CCode (array_length = false)] out unowned Poppler.Color[] 
colors);
+               public bool get_border_color ([CCode (array_length = false)] out unowned Poppler.Color 
colors[4]);
                [Version (since = "0.26")]
-               public void get_border_style ([CCode (array_length = false)] out 
Poppler.StructureBorderStyle[] border_styles);
+               public void get_border_style ([CCode (array_length = false)] out Poppler.StructureBorderStyle 
border_styles[4]);
                [Version (since = "0.26")]
-               public bool get_border_thickness ([CCode (array_length = false)] out double[] 
border_thicknesses);
+               public bool get_border_thickness ([CCode (array_length = false)] out double 
border_thicknesses[4]);
                [Version (since = "0.26")]
                public bool get_bounding_box (out Poppler.Rectangle bounding_box);
                [Version (since = "0.26")]
@@ -666,7 +666,7 @@ namespace Poppler {
                [Version (since = "0.26")]
                public Poppler.StructureListNumbering get_list_numbering ();
                [Version (since = "0.26")]
-               public void get_padding ([CCode (array_length = false)] out double[] paddings);
+               public void get_padding ([CCode (array_length = false)] out double paddings[4]);
                [Version (since = "0.26")]
                public int get_page ();
                [Version (since = "0.26")]
@@ -682,14 +682,14 @@ namespace Poppler {
                [Version (since = "0.26")]
                public double get_start_indent ();
                [Version (since = "0.26")]
-               public void get_table_border_style ([CCode (array_length = false)] out 
Poppler.StructureBorderStyle[] border_styles);
+               public void get_table_border_style ([CCode (array_length = false)] out 
Poppler.StructureBorderStyle border_styles[4]);
                [Version (since = "0.26")]
                public uint get_table_column_span ();
                [CCode (array_length = false, array_null_terminated = true)]
                [Version (since = "0.26")]
                public string[] get_table_headers ();
                [Version (since = "0.26")]
-               public void get_table_padding ([CCode (array_length = false)] out double[] paddings);
+               public void get_table_padding ([CCode (array_length = false)] out double paddings[4]);
                [Version (since = "0.26")]
                public uint get_table_row_span ();
                [Version (since = "0.26")]


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