[Ecls-list] Approaching 10.3.2
Alexander Gavrilov
angavrilov at gmail.com
Sat Mar 20 12:15:38 UTC 2010
> Hi, one more small patch:
And one more:
------------------------------- src/c/alloc_2.d -------------------------------
index 8b4cc00..78ee43c 100755
@@ -1370,7 +1370,7 @@ cl_object
si_make_weak_pointer(cl_object o)
{
cl_object pointer = ecl_alloc_weak_pointer(o);
- si_set_finalizer(o, pointer);
+ si_set_finalizer(pointer, Ct);
@(return pointer);
}
A weak pointer is not a finalizer function for the actual object.
By the way, I don't actually understand the logic with the
custom finalizer queue. I looked at the source code of the
garbage collector, and it seems that it has similar queue
functionality built in.
Alexander
More information about the ecl-devel
mailing list