[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: use of c ellipsis
- From: William Ahern <william@...>
- Date: Wed, 26 Feb 2014 12:12:41 -0800
On Tue, Feb 25, 2014 at 06:30:37PM -0800, Jim Rambo wrote:
> I am trying to port lua to another architecture that is basically ansi
> c. However, the ellipsis is not supported. I cut out all the extra
> libraries but have even found that the ellipsis is used in the core.
> Any ideas? The remaining obstacle seems to be centered around the
> various pushstring functions.
Maybe you could try declaring the function without any parameters:
And in the definition, remove the ellipsis and use va_start, etc, as normal.
It might work, but it all depends on the ABI the compiler uses.