ANN: H98 FFI Addendum 1.0, Release Candidate 13

Manuel M T Chakravarty chak at cse.unsw.edu.au
Sat Nov 1 02:41:17 EST 2003


Alastair Reid <alastair at reid-consulting-uk.ltd.uk> wrote,

> I think it's ok for the finalizer function to delete the environment object if 
> it wants isn't it?  
> 
> This isn't always the right thing to do but I think it is in the common case 
> that there is a unique environment object for every finalized object.
> 
> In the other common case that there is a single environment object for a set 
> of objects (e.g., for all objects of the same 'type'), the finalizer might 
> decrement a reference count on the environment object.

That's what I thought, too.

Manuel


More information about the FFI mailing list