On Mon, Apr 28, 2008 at 2:55 AM, Aaron Gray <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 28, 2008 at 2:48 AM, Michael FIG <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > "Aaron Gray" <[EMAIL PROTECTED]> writes: > > > > > va_start( ap, rcv); > > > _c = (struct __closure *) _libid->bind( msg, _r); > > > ret = (_c->method)( (oop) _c, _r, _r, ap); > > > va_end( ap); > > > > This changes the calling convention... the "ap" argument does not pass > > the remaining arguments on the stack, it passes a pointer to them, so > > they wouldn't be usable as named parameters. > > > Ah, should have noticed that :) > > Oh, well have to use preprocessor then :( > Just as well, the code generation is crap, and it does not get inlined either, vaargs and inlining do not mix on VS 2008. Shame as I wanted to use it to pass tuples :( Aaron
_______________________________________________ fonc mailing list [email protected] http://vpri.org/mailman/listinfo/fonc
