Howdy, On Tue, Mar 16, 2010 at 12:19 PM, Andrew Whitworth <[email protected]> wrote: > My initial thought, and this isn't implemented quite yet (though we > could put the fire back to my feet to complete it) is to create a > CallContext PMC with all the arguments you want and pass that in.
This sounds interesting, what do we get if we go this route? Does it make certain things easier/faster/more portable? > > Putting arguments into a ResizablePMCArray or Hash and using :flat > (Signature "Pf") would similarly resolve the problem. Good idea! I think that we could make stuff work at the PIR level going that route, but I don't think HLL's would work using that method. But it gives us a path forward, which is very good. I still think that Parrot_ext_call_cb is going to be the way to get HLL argument passing working correctly, perhaps wrapped in some kind of container PMC. Duke -- Jonathan "Duke" Leto [email protected] http://leto.net _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
