vala r915 - in trunk: . vapi



Author: juergbi
Date: Sun Jan 27 16:13:19 2008
New Revision: 915
URL: http://svn.gnome.org/viewvc/vala?rev=915&view=rev

Log:
2008-01-27  Juerg Billeter  <j bitron ch>

	* vapi/glib-2.0.vapi: fix GValue binding


Modified:
   trunk/ChangeLog
   trunk/vapi/glib-2.0.vapi

Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi	(original)
+++ trunk/vapi/glib-2.0.vapi	Sun Jan 27 16:13:19 2008
@@ -758,8 +758,8 @@
 	public abstract class Boxed {
 	}
 
-	[CCode (free_function = "g_free", type_id = "G_TYPE_VALUE")]
-	public class Value {
+	[CCode (type_id = "G_TYPE_VALUE")]
+	public struct Value {
 		[CCode (cname = "G_VALUE_HOLDS")]
 		public bool holds (Type type);
 		[CCode (cname = "G_VALUE_TYPE")]
@@ -767,8 +767,8 @@
 		[CCode (cname = "G_VALUE_TYPE_NAME")]
 		public weak string type_name ();
 
-		public weak Value init (Type g_type);
-		public void copy (Value dest_value);
+		public Value (Type g_type);
+		public void copy (out Value dest_value);
 		public weak Value reset ();
 		public void unset ();
 		public void set_instance (pointer instance);



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