Re: extend.c:Parrot_call

2004-10-28 Thread Leopold Toetsch
Leopold Toetsch wrote: Parrot_call() runs a Parrot subroutine, but it takes PMC arguments only and provides no return value. If no one hollers, I'll replace this function with a more flexible set of functions that are wrappers to the *runops* functions in src/inter_run.c: void *Parro

Re: extend.c:Parrot_call

2004-10-27 Thread Leopold Toetsch
Jeff Horwitz wrote: On Wed, 27 Oct 2004, Leopold Toetsch wrote: E.g. when you have a sub that ends with: set P5, 100 # ret value set I0, 0 # non-prototyped set I3, 0 # no return value invoke P1 # return then P5 will not be passed to the caller. right. but i'm explicitly using .pcc_begi

Re: extend.c:Parrot_call

2004-10-27 Thread Jeff Horwitz
On Wed, 27 Oct 2004, Leopold Toetsch wrote: > E.g. when you have a sub that ends with: > > set P5, 100 # ret value > set I0, 0 # non-prototyped > set I3, 0 # no return value > invoke P1 # return > > then P5 will not be passed to the caller. right. but i'm explicitly using .pcc_begi

Re: extend.c:Parrot_call

2004-10-27 Thread Leopold Toetsch
Jeff Horwitz <[EMAIL PROTECTED]> wrote: [ Please don't top post ] > this would be great -- i'm currently pulling the return values of my > called subs directly out of I5, and it would be nice to have that bit > taken care of for me, especially if calling conventions change somewhere > down the li

Re: extend.c:Parrot_call

2004-10-27 Thread Jeff Horwitz
this would be great -- i'm currently pulling the return values of my called subs directly out of I5, and it would be nice to have that bit taken care of for me, especially if calling conventions change somewhere down the line (but i certainly hope they don't). :) -jeff On Wed, 27 Oct 2004, Leopo

extend.c:Parrot_call

2004-10-27 Thread Leopold Toetsch
Parrot_call() runs a Parrot subroutine, but it takes PMC arguments only and provides no return value. If no one hollers, I'll replace this function with a more flexible set of functions that are wrappers to the *runops* functions in src/inter_run.c: void *Parrot_call_sub_(interp, sub,