[gambit-list] FFI and scheme-object
Alex Queiroz
asandroq at gmail.com
Tue Apr 5 07:25:51 EDT 2011
Hallo,
On Tue, Apr 5, 2011 at 2:23 AM, Diogo F. S. Ramos <diogofsr at gmail.com> wrote:
>
> I was looking around the examples from the distribution and I found
> (##still-copy), which made my code work, but I don't know why, and I
> couldn't find any mention of it inside the manual.
>
Gambit uses a copying garbage collector, and therefore move
objects in memory. ##STILL-COPY copies the object to a memory location
from where it won't be moved again. So I guess a garbage collection is
happening after the call to MAKE_BOOK.
--
-alex
http://www.artisancoder.com/
More information about the Gambit-list
mailing list