Invocation functions in src/extend.c

NotFound julian.notfound at gmail.com
Sat Feb 21 21:59:57 UTC 2009


> There are several functions in src/extend.c of the form
> Parrot_call_method_ret_* or Parrot_call_sub_ret_*. These invoke a
> Parrot sub with a given signature, and return a single typed data
> item. As part of the ongoing calling conventions refactors, I would
> like to unify these into only one or two functions, and pass return
> values as pointers in the arglist instead.
(snip)
> Any thoughts on this? Any concerns about the extension interface that
> this would break or improve?

I think this is a good way to go for now, and delay thinking about
possible improvements until the refactor is finished and we have some
real way examples of extend/embed using correct interfaces.

-- 
Salu2


More information about the parrot-dev mailing list