On 7/22/05, Daniel B. Faken [EMAIL PROTECTED] wrote:
OK.
From what I see in chicken.h, we have:
# define C_alloca alloca
#define C_alloc(n) ((C_word *)C_alloca((n) * sizeof(C_word)))
And as I undestand, alloca() is the same as allocating things on the
On 7/21/05, Daniel B. Faken [EMAIL PROTECTED] wrote:
On a related note: is it OK to call C_alloc() to construct data to be
passed via CHICKEN_invoke()?
Yes, that should work.
The manual entry for C_alloc() says ..Note that stack-allocated data
objects have to be passed to Scheme callback
On Fri, 22 Jul 2005, felix winkelmann wrote:
On 7/21/05, Daniel B. Faken [EMAIL PROTECTED] wrote:
On a related note: is it OK to call C_alloc() to construct data to be
passed via CHICKEN_invoke()?
Yes, that should work.
The manual entry for C_alloc() says ..Note that