vala r1453 - in trunk: . vapi
- From: malureau svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1453 - in trunk: . vapi
- Date: Mon, 26 May 2008 17:59:07 +0000 (UTC)
Author: malureau
Date: Mon May 26 17:59:07 2008
New Revision: 1453
URL: http://svn.gnome.org/viewvc/vala?rev=1453&view=rev
Log:
2008-05-26 Marc-Andrà Lureau <marcandre lureau gmail com>
* vapi/glib-2.0.vapi (Object): add weak pointer references
bindings and {freeze,thaw}_notify ()
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 Mon May 26 17:59:07 2008
@@ -755,6 +755,7 @@
public static delegate void ObjectGetPropertyFunc (Object object, uint property_id, Value value, ParamSpec pspec);
public static delegate void ObjectSetPropertyFunc (Object object, uint property_id, Value value, ParamSpec pspec);
+ public static delegate void WeakNotify (void *data, Object object);
[CCode (ref_function = "g_object_ref", unref_function = "g_object_unref", marshaller_type_name = "OBJECT", get_value_function = "g_value_get_object", set_value_function = "g_value_set_object", cheader_filename = "glib-object.h")]
public class Object : TypeInstance {
@@ -765,6 +766,10 @@
public weak Object @ref ();
public void unref ();
public Object ref_sink ();
+ public void weak_ref (WeakNotify notify, void *data);
+ public void weak_unref (WeakNotify notify, void *data);
+ public void add_weak_pointer (void **data);
+ public void remove_weak_pointer (void **data);
public void get (...);
public void set (...);
public void get_property (string property_name, Value value);
@@ -776,6 +781,8 @@
public void set_qdata (Quark quark, void* data);
public void set_qdata_full (Quark quark, void* data, DestroyNotify? destroy);
public void* steal_qdata (Quark quark);
+ public void freeze_notify ();
+ public void thaw_notify ();
public virtual void dispose ();
public virtual void finalize ();
public virtual void constructed ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]