chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Return multiple values from foreign-lambda*


From: Alejandro Forero Cuervo
Subject: Re: [Chicken-users] Return multiple values from foreign-lambda*
Date: Sat, 7 May 2005 17:18:18 -0500
User-agent: Mutt/1.5.6+20040907i

Hey.

> 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).

Yes, this is kinda what I'm doing right now: I have the Chicken
function build a list with all the values and return it.  I am just
wondering if its possible to do away with this.

Thanks, though. :)

Alejo.
http://bachue.com/alejo

---=(  Comunidad de Usuarios de Software Libre en Colombia  )=---
---=(  http://bachue.com/colibri )=--=( address@hidden  )=---




reply via email to

[Prev in Thread] Current Thread [Next in Thread]