On 11/1/05, Pupeno <[EMAIL PROTECTED]> wrote:
>
> Right. But when ? Can the Garbage Collector take care of it ? I mean, is there
> a way to make the Garbage Collector take care of e ?

(set-finalizer! OBJECT PROCEDURE)

will call PROCEDURE once OBJECT isn't referenced anymore.

> Or is there another way to create an XEvent in which the garbage collector
> will take care of it ? I now have (define-foreign-record XEvent ...) but it
> seems it didn't made a make-XEvent.

No, it doesn't define a constructor, you have to create one yourself.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to