[vala] cogl-1.0: fix cogl_path_polygon and cogl_path_polyline bindings
- From: Ali Sabil <asabil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] cogl-1.0: fix cogl_path_polygon and cogl_path_polyline bindings
- Date: Wed, 31 Mar 2010 10:56:48 +0000 (UTC)
commit b265ae70edf831c6ac84fe3b7ae9d1e33e049f18
Author: René Post <rene xpt nl>
Date: Wed Mar 31 12:53:55 2010 +0200
cogl-1.0: fix cogl_path_polygon and cogl_path_polyline bindings
vapi/cogl-1.0.vapi | 4 ++--
vapi/packages/cogl-1.0/cogl-1.0.metadata | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/vapi/cogl-1.0.vapi b/vapi/cogl-1.0.vapi
index 1015fba..9f356d3 100644
--- a/vapi/cogl-1.0.vapi
+++ b/vapi/cogl-1.0.vapi
@@ -598,9 +598,9 @@ namespace Cogl {
[CCode (cheader_filename = "cogl/cogl.h")]
public static void path_new ();
[CCode (cheader_filename = "cogl/cogl.h")]
- public static void path_polygon (float coords, int num_points);
+ public static void path_polygon ([CCode (array_length = false)] float[] coords, int num_points);
[CCode (cheader_filename = "cogl/cogl.h")]
- public static void path_polyline (float coords, int num_points);
+ public static void path_polyline ([CCode (array_length = false)] float[] coords, int num_points);
[CCode (cheader_filename = "cogl/cogl.h")]
public static void path_rectangle (float x_1, float y_1, float x_2, float y_2);
[CCode (cheader_filename = "cogl/cogl.h")]
diff --git a/vapi/packages/cogl-1.0/cogl-1.0.metadata b/vapi/packages/cogl-1.0/cogl-1.0.metadata
index e5ab1f2..705e702 100644
--- a/vapi/packages/cogl-1.0/cogl-1.0.metadata
+++ b/vapi/packages/cogl-1.0/cogl-1.0.metadata
@@ -111,4 +111,7 @@ cogl_material_layer_get_type hidden="1"
cogl_offscreen_* hidden="1"
+cogl_path_polygon.coords is_array="1" no_array_length="1"
+cogl_path_polyline.coords is_array="1" no_array_length="1"
+
cogl_vertex_buffer_* hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]