>>>>> "Leopold" == Leopold Toetsch <[EMAIL PROTECTED]> writes:

    Leopold> Colin Paul Adams <[EMAIL PROTECTED]> wrote:
    >> I have a problem with this - namely that the function is
    >> variadic, and the interface generator can't cope with this.

    Leopold> Have a look at src/inter_run.c e.g.

    Leopold> <void * Parrot_runops_fromc_arglist(Parrot_Interp
    Leopold> interpreter, PMC *sub, const char *sig, va_list args)>

Despite what I said before, this is actually worse than
Parrot_call_sub.
The interface generator ignores it completely, rather than generating
an incorrect signature (I suppose that's an improvement really, except
then it can't even be used for subroutines which accept zero
arguments).
And as for hand-writing interfaces, I'm not sure I know HOW to create
a va_list.
-- 
Colin Adams
Preston Lancashire

Reply via email to