Hallo,
On Tue, Apr 5, 2011 at 10:06 AM, Diogo F. S. Ramos diogofsr@gmail.com wrote:
I mean, whenever I create a scheme object that I want to return to C code, but I don't want to make a conversion to a C type like a struct because I only access its values using accessors, should I call (##still-copy) when returning it?
If you don't immediately copy the object to the C side and instead want to keep a pointer to the Scheme heap, you will need ##STILL-COPY. But I guess you don't want to do that: What if the object is garbage-collected?