]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
cogl-1.0: Cogl.get_viewport parameter has no array length
authorLuca Bruno <lucabru@src.gnome.org>
Thu, 26 Jan 2012 17:29:28 +0000 (18:29 +0100)
committerJürg Billeter <j@bitron.ch>
Tue, 31 Jan 2012 13:02:29 +0000 (14:02 +0100)
vapi/cogl-1.0.vapi
vapi/packages/cogl-1.0/cogl-1.0.metadata

index 1941fb82164b24ae4887847f5d15bae04de27461..d4d9db80756547ad18f2845a7f88b439e2f4887b 100644 (file)
@@ -714,7 +714,7 @@ namespace Cogl {
        [CCode (cheader_filename = "cogl/cogl.h")]
        public static void get_projection_matrix (Cogl.Matrix matrix);
        [CCode (cheader_filename = "cogl/cogl.h")]
-       public static void get_viewport (float[] v);
+       public static void get_viewport ([CCode (array_length = false)] float[] v);
        [CCode (cheader_filename = "cogl/cogl.h")]
        public static GLib.Type indices_type_get_type ();
        [CCode (cheader_filename = "cogl/cogl.h")]
index a4ec28356d0173e29c06f46cb0cc60c6a067015e..47f9c779fd118f9bc8f6667eef147d3706b9aba8 100644 (file)
@@ -28,6 +28,8 @@ cogl_create_shader hidden="1"
 
 CoglFixed is_value_type="1"
 
+cogl_get_viewport.v no_array_length="1"
+
 cogl_is_bitmap hidden="1"
 cogl_is_buffer hidden="1"
 cogl_is_material hidden="1"