[Ecls-list] c-inline and multiple values

Julian Stecklina der_julian at web.de
Mon Jan 24 18:28:02 UTC 2005


is it possible to return multiple values from a c-inline form? Or if
that is not possible, how do I make the runtime aware of a C function
returning multiple values?

Say if I have

cl_object static foo (..)
        VALUES(0) = ...;
        VALUES(1) = ...;
        return VALUES(0);

When I do a:

(defentry foo ...)

and call that, it seems from the C code generated, that the multiple
values are lost. Is this true?

 Julian Stecklina  /  _________________________/
  ________________/  /
  \_________________/  LISP - truly beautiful

More information about the ecl-devel mailing list