Re: Interfacing to other languages

From: Erick Gallesio <>
Date: Fri, 26 Mar 1999 12:52:49 +0100 (CET)

Michael Hohn writes:
> Hello,
> I have been looking at the STk documentation (for version 3.99.4), and
> it states that all void* get freed using a call to free();
> this makes it very difficult to connect STk to other garbage-collected
> languages, since they have their own methods of dealing with unused
> space.
> Is it possible to add to Stk the ability to use a custom deallocation
> routine which it calls when done with a foreign object?
> Thanks for any ideas,
I'm not sure to understand what you need exactly. Are you talking
about pointers which are used by the FFI, or to pointers which are
managed in an extension? Have you looked :static-ptr?

                -- Erick
Received on Fri Mar 26 1999 - 12:57:22 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST