On Tue, 21 Oct 2003, Leopold Toetsch wrote: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > > While we're fighting^Wdiscussing the freezing system, there's a simpler > > thing we need to have added in. We need an API entry point that allows C > > code to invoke a sub/method PMC. > > What about params? I already thought about that a bit, and when looking > at extent.c:Parrot_call(), it seems that this needs another thunk (the > reverse of NCI), that sets up needed registers depending on a function > signature.
We probably need two API entries. One, a vararg version, that just takes a bunch of PMC pointers (or some sort of (ick) parameter signature), and a second that assumes you've set the registers up properly already. Dan