>>>>> "Autrijus" == Autrijus Tang <[EMAIL PROTECTED]> writes:

    Autrijus> On Tue, May 17, 2005 at 03:00:14PM +0100, Colin Paul
    Autrijus> Adams wrote:
    >> But when I look at http://www.parrotcode.org/docs/embed.html, I
    >> can see no way of getting information back from the script -
    >> not even an exit code. Is there anyway of doing this that I
    >> have missed?

    Autrijus> You may wish to use Parrot_call_sub's "SS" form, where
    Autrijus> you pass in a string and get back a string.  Something
    Autrijus> like this:

I have a problem with this - namely that the function is variadic, and
the interface generator can't cope with this.

So I'm going to have to do a lot of hand-coding to get round this
problem.

This is a general problem for interface generators, I believe. Would
it be possible to have more friendly functions in embed.h/c for use by
interface generators? 
(By more friendly, I mean instead of ..., a single argument of some
list or array type.)
-- 
Colin Adams
Preston Lancashire

Reply via email to