On 13.09.23 01:22, Dave Mitchell wrote: [-snip-] > > I don't know about Function::Parameters and in particular how the > functions you've been modifying get invoked. But if there is a transition > from a refcounted stack to non-refcounted stack somewhere which isn't via > a normal XS call from pp_entersub, then it probably needs wrapping so > that it's given a temporarily non-refcounted stack to run on and so can > run unmodified. I don't know about stack transitions, but the XS code gets called from the keyword plugin interface (from the parser), and it then calls back into Perl at compile time. > But really, you'd be best off waiting until it's complete in core, the > rpp_() API has stabilised, and PPPort has been updated. OK, thank you for your reply. I'll wait until things are a bit more stable. Looks like I'll have to learn how Devel::PPPort works. :-)Thread Previous | Thread Next