gobject weak references



1.
Is this an accurate description of the new gobject weak references
mechanism?:
It doesn't actually increase the refcount, so the object might be
deleted, but you'll know if it does because it will call your callback
function.

2.
The GWeakNofify callback will have this signature:
void weaknotify_callback(gpointer data, GObject *where_the_object_was);
What is the second argument about?


-- 
Murray Cumming
www.murrayc.com
murrayc usa net




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