[vala] cogl-1.0: Return value of Cogl.Matrix.get_array doesn't have a length.
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] cogl-1.0: Return value of Cogl.Matrix.get_array doesn't have a length.
- Date: Sun, 25 Jul 2010 18:20:10 +0000 (UTC)
commit bf21d1350e50afb14dd2a9ac64c0f55e811b5e2d
Author: Evan Nemerson <evan coeus-group com>
Date: Sun Jul 25 11:16:14 2010 -0700
cogl-1.0: Return value of Cogl.Matrix.get_array doesn't have a length.
vapi/cogl-1.0.vapi | 1 +
vapi/packages/cogl-1.0/cogl-1.0.metadata | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/cogl-1.0.vapi b/vapi/cogl-1.0.vapi
index 9f356d3..29ca0a1 100644
--- a/vapi/cogl-1.0.vapi
+++ b/vapi/cogl-1.0.vapi
@@ -257,6 +257,7 @@ namespace Cogl {
public uint flags;
public Matrix.from_array (float[] array);
public void frustum (float left, float right, float bottom, float top, float z_near, float z_far);
+ [CCode (array_length = false)]
public unowned float[] get_array ();
public bool get_inverse (Cogl.Matrix inverse);
public Matrix.identity ();
diff --git a/vapi/packages/cogl-1.0/cogl-1.0.metadata b/vapi/packages/cogl-1.0/cogl-1.0.metadata
index 705e702..5ae6077 100644
--- a/vapi/packages/cogl-1.0/cogl-1.0.metadata
+++ b/vapi/packages/cogl-1.0/cogl-1.0.metadata
@@ -38,7 +38,7 @@ cogl_is_texture hidden="1"
cogl_is_vertex_buffer hidden="1"
CoglMatrix is_value_type="1"
-cogl_matrix_get_array is_array="1"
+cogl_matrix_get_array is_array="1" no_array_length="1"
cogl_matrix_multiply hidden="1"
cogl_matrix_init_from_array hidden="1"
cogl_matrix_init_identity hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]