[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] foreign-lambda*
From: |
Nicolas Pelletier |
Subject: |
Re: [Chicken-users] foreign-lambda* |
Date: |
03 Feb 2005 16:30:56 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Tony Garnock-Jones <address@hidden> writes:
> Nicolas Pelletier wrote:
> > The reason I can break the 126 parameters limit is I am using
> > foreign-lambda* to fill in huge C structures, some of them including
> > big tables of other structures... and every field therein must get an
> > init value.
>
> You could pass in a list of values, and do the conversion to C data on
> the C side (using the macro definitions from runtime.h).
I think I'll go towards a mix of this solution and the libffi one
Felix suggested, depending on the shape of the C structure I need to
fill in. The tcc egg looks very promising, but my code needs to run on
a sparc, where tcc does not seem to be available.
Thank you for this suggestion.
--
Nicolas