Re: getting instance pointer in weak ref notify
- From: Sven Neumann <sven gimp org>
- To: James Henstridge <james daa com au>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: getting instance pointer in weak ref notify
- Date: 14 Aug 2001 14:30:12 +0200
Hi,
James Henstridge <james daa com au> writes:
> It would be very useful if the instance pointer value was passed as an
> argument to weak ref notify function. For the simple cases where you just
> want to unref or destroy some other object/structure when the object is
> finalized, the current code is okay.
>
> But there are many cases where knowing the instance pointer value would be
> very useful. A fairly common case is where you want to maintain a list or
> hash table of all `live' objects of a particular type.
yes, this is exactly the reason why I've asked for it too: weak containers.
Let's see if a second call for this changes anyone's mind...
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]