On 5/7/05, Alejandro Forero Cuervo <[EMAIL PROTECTED]> wrote:
> 
> Hi.
> 
> How would one return multiple values from foreign-lambda* code?  Is
> this at all possible?

Maybe there's some Chicken magic to support this, but I imagine that
you would have to handle it as you would in C: pass in a pointer to an
array or struct in which the foreign function can store the results;
and have the function return 0 or an error code (or in the case of an
array , perhaps the number of elements written to the array).

-- Graham


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to