William Coleda <[EMAIL PROTECTED]> wrote:

> If only the first character is the return value, how does one deal
> with subroutines that return  multiple values?

Well, you can't access multiple return values from within the C
function, where you are calling the PIR code. OTOH, if the PIR code did
return more values, we should get them back to the caller.

We should probably have a new return signature for this, e.g.

  "@" - collect all return values, stuff them into an array and return
  that.

OTOH you could use Parrot_runops_fromc() and pick up return values from
the returned frame pointer C<bp>.

leo

Reply via email to