[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Allocation of data for use in return values
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Allocation of data for use in return values |
Date: |
Tue, 23 Jan 2007 08:37:27 +0100 |
Another possibility would be to allocate Scheme data in a Scheme callback
and put the returned value into a GC root (CHICKEN_gc_root_new). That
way you can manipulate the Scheme data in C and are sure that it is
updated by the garbage collection.
cheers,
felix