At 10:16 AM 10/13/00 +0100, Nicholas Clark wrote:
>On Thu, Oct 12, 2000 at 03:24:23PM -0700, Russ Allbery wrote:
> > 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 *, ...).
>
>(Perl_Interpreter *, ...)
>surely?
That'd be a good one, except we're trying to avoid that if we can... :(
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk
- Re: RFC 334 (v1) I'm {STILL} trying to understand this..... Simon Cozens
- Re: RFC 334 (v1) I'm {STILL} trying to understand t... Dan Sugalski
- Re: RFC 334 (v1) I'm {STILL} trying to understa... Russ Allbery
- Re: RFC 334 (v1) I'm {STILL} trying to unde... Simon Cozens
- Re: RFC 334 (v1) I'm {STILL} trying to ... Dan Sugalski
- Re: RFC 334 (v1) I'm {STILL} tryin... John Porter
- Re: RFC 334 (v1) I'm {STILL} tryin... Jarkko Hietaniemi
- Re: RFC 334 (v1) I'm {STILL} tryin... John Porter
- Re: RFC 334 (v1) I'm {STILL} tryin... Dan Sugalski
- Re: RFC 334 (v1) I'm {STILL} trying to unde... Nicholas Clark
- Re: RFC 334 (v1) I'm {STILL} trying to ... Dan Sugalski
- Re: RFC 334 (v1) I'm {STILL} trying to understa... David L. Nicol
- Perl's parser and lexer will likely be in Perl (was Re: ... Bradley M. Kuhn
- Re: Perl's parser and lexer will likely be in Perl ... Leon Brocard
- Larry's ALS talk Bradley M. Kuhn
- Re: Larry's ALS talk Jeff Okamoto
- Re: Perl's parser and lexer will likely be in P... Jeremy Howard
- Re: Perl's parser and lexer will likely be ... Adam Turoff
- Re: Perl's parser and lexer will likely... Simon Cozens
- Re: Perl's parser and lexer will l... Simon Cozens
- Re: Perl's parser and lexer will l... Nicholas Clark
