Thread overview
How to interface with vararg C functions?
Apr 17, 2003
Luna Kid
Apr 18, 2003
Burton Radons
Apr 18, 2003
Luna Kid
April 17, 2003
This is an incomplete porting of a C interface:

extern (C) {

    char* f1 (char* fmt, va_list argp); // just use void*?
    char* f2 (char* fmt, ...);    // perhaps OK as is

}

How to correctly do it? (I haven't found any clue
in the docs. under the "Functions" heading.)

Thanks,
Lunar Szabi


April 18, 2003
Luna Kid wrote:

> This is an incomplete porting of a C interface:
> 
> extern (C) {
> 
>     char* f1 (char* fmt, va_list argp); // just use void*?
>     char* f2 (char* fmt, ...);    // perhaps OK as is
> 
> }

This is how it should be done.

April 18, 2003
Thanks!

"Burton Radons" <loth@users.sourceforge.net> wrote in message news:b7o06c$1oun$1@digitaldaemon.com...
> Luna Kid wrote:
>
> > This is an incomplete porting of a C interface:
> >
> > extern (C) {
> >
> >     char* f1 (char* fmt, va_list argp); // just use void*?
> >     char* f2 (char* fmt, ...);    // perhaps OK as is
> >
> > }
>
> This is how it should be done.
>