[plt-scheme] scheme_weak_reference and MZ_PRECISE_GC

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Sep 9 07:23:59 EDT 2008

At Tue, 09 Sep 2008 10:57:01 +0200, David Hansen wrote:
> what's the alternative to scheme_weak_reference() if MZ_PRECISE_GC is
> defined?  Shall I use a finalizer and the fixup callback?  And how would
> I use the fixup callback?

You can use scheme_make_weak_box() with both 3m and CGC.

> BTW, the docs don't mention that the weak reference function aren't
> available with 3m.

Thanks --- I'll fix that.


Posted on the users mailing list.