http://qs321.pair.com?node_id=694570


in reply to Re: XS/Inline::C and ellipsis syntax
in thread XS/Inline::C and ellipsis syntax

You'll have to change the vatest method signature

I'm mainly interested in keeping the vatest() signature as is - though, admittedly, that probably wasn't very clear from my post.

I know how to work things with vatest(SV* format, ...), but was wondering if there's any way that perl can access vatest(char* format, ...) even if we impose limitations that, eg, all of the arguments passed to vatest are strings (PV's).

It's probably a dumb question. I know that in both XS and Inline::C perl, can access foo(char* str) and can also access the multi-arg form foo(char* str1, char* str2, char* str3), but to access a variable-length list of char*'s might stretch the friendship between perl and C a little too far.

Cheers,
Rob