Dan Sugalski <[EMAIL PROTECTED]> writes:

> C's vararg handling sucks in many sublime and profound ways. It does,
> though, work. If we declare in advance that all C-visible perl functions
> have an official parameter list of (...), then we can make it work. The
> calling program would just fetch function pointers from us somehow, and
> do the call in.

Can't.  ISO C requires that all variadic functions take at least one named
parameter.  The best you can do is something like (void *, ...).

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to