vala r1206 - in trunk: . vapi
- From: malureau svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1206 - in trunk: . vapi
- Date: Sun, 13 Apr 2008 15:07:05 +0100 (BST)
Author: malureau
Date: Sun Apr 13 15:07:04 2008
New Revision: 1206
URL: http://svn.gnome.org/viewvc/vala?rev=1206&view=rev
Log:
2008-04-13 Marc-Andre Lureau <marcandre lureau gmail com>
* vapi/glib-2.0.vapi (Value): add init, register_transform, and
boxed bindings, fixes bug 514349.
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 Apr 13 15:07:04 2008
@@ -766,6 +766,8 @@
public abstract class Boxed {
}
+ public static delegate void ValueTransform (Value src_value, out Value dest_value);
+
[CCode (type_id = "G_TYPE_VALUE")]
public struct Value {
[CCode (cname = "G_VALUE_HOLDS")]
@@ -778,6 +780,7 @@
public Value (Type g_type);
public void copy (out Value dest_value);
public weak Value reset ();
+ public void init (Type g_type);
public void unset ();
public void set_instance (pointer instance);
public bool fits_pointer ();
@@ -787,6 +790,7 @@
public bool transform (Value dest_value);
[CCode (cname = "g_strdup_value_contents")]
public string strdup_contents ();
+ public static void register_transform (Type src_type, Type dest_type, ValueTransform transform);
public void set_boolean (bool v_boolean);
public bool get_boolean ();
public void set_char (char v_char);
@@ -820,6 +824,10 @@
public string dup_string ();
public void set_pointer (pointer v_pointer);
public pointer get_pointer ();
+ public void set_boxed (Boxed v_boxed);
+ public void take_boxed (Boxed# v_boxed);
+ public weak Boxed get_boxed ();
+ public Boxed dup_boxed ();
public void set_object (Object v_object);
public void take_object (Object# v_object);
public weak Object get_object ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]