]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Regenerate GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 31 May 2016 15:04:54 +0000 (17:04 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 1 Jun 2016 14:21:20 +0000 (16:21 +0200)
14 files changed:
vapi/atspi-2.vapi
vapi/clutter-1.0.vapi
vapi/gdk-3.0.vapi
vapi/gdk-pixbuf-2.0.vapi
vapi/gio-2.0.vapi
vapi/graphene-1.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-rtp-1.0.vapi
vapi/gstreamer-sdp-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/pango.vapi
vapi/poppler-glib.vapi

index faad39c9903877353eb7e50f28f0ab0c8d02eb17..4ea469d54a4b845b25290a3ad4bafe9e7b699e97 100644 (file)
@@ -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)]
index e4f0ffe23216416145219e054a7e402ec8f2db06..3b6460bcd1013fb4797db9b7243bdf383936351a 100644 (file)
@@ -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 ();
index 34e29fd7875b5df4535b63fedb77902b8173566b..3a1c73a8425071526f3dd7a756ccba01ea3b5ecf 100644 (file)
@@ -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 {
index 1374e66ce54b8d635282f707bca4c6ff15cf6e85..66ad074809c2f7f55a8ac3ab6572e617f449ebde 100644 (file)
@@ -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;
index 5d470e9c01c46fbf6cb2d0f858190067bcfdb1cb..305d580380b94c5f7f1f8467c722df07e9cb5503 100644 (file)
@@ -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;
        }
index 93ec09bedf2f4c609bc67c69f1fc2e7bbbdb4e73..56cc1107ab89f009e06f67c2e0d9b642edcf745c 100644 (file)
@@ -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")]
index 8a04e7a21332bc5574c57e05e507ea6a3c64513d..410c7db9f2dc185907bf895f7d739c7714b80d15 100644 (file)
@@ -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 {
index 3fce83f59ee81ffb9322eea2572296c5a9aa3e36..c5bb28a7218f0cbe2639e0da304dcd747b8698ba 100644 (file)
@@ -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;
index cd4825f7329a30daaeb16a58a04041a936f780de..3544c576220dbbd00dcf519197c0478ca3ecf34f 100644 (file)
@@ -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")]
index c2ca95d5dbfef82f9c55fabdd631b8c6cde4e5ec..682ef773067caabbf9dd0d03f6155e3bae91cb77 100644 (file)
@@ -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);
index a59e9d6e48ec8d95e24ecf202ca871896013e40f..71aaf0c9bd59538f9be6eb697050be2f4e538704 100644 (file)
@@ -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;
index e9f7c9f10117906c005d1a06e232a6416436b28f..826674e281cb84a360e54fd4ddbbfcb4e763e99d 100644 (file)
@@ -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);
                }
index a25a9b886671fe4191216cefa52bcf63dacb7b8a..09e2a7097299ec8ead5e29be0abcc7c864ff3042 100644 (file)
@@ -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 {
index 0cd5aeb037f63dea61ae406dc2a7ca8975ccd894..2bef477e239cd65b0717e580a7349bebbeb73adf 100644 (file)
@@ -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")]