sslot 0.3 release
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Wed Mar 28 12:13:54 PDT 2007
Lutger wrote:
> Bill Baxter wrote:
>>
>> Sounds nice. Just curious -- what is it you require from dmd 1.10?
>
> dmd 1.10 provides std.gc.capacity, which can tell you if a block of
> memory is allocated by the gc. I use this to check if a delegates comes
> from an object (with the .ptr property), in which case the signals hooks
> a delegate with notifyRegister on the object which is called on
> destruction for auto disconnection.
> I should have documented this btw.
You realize that just because a block of memory is GC-allocated doesn't
mean it's an Object? It could just as well be a struct, int, dynamic
array data or whatever.
More information about the Digitalmars-d-announce
mailing list