My understanding of this situation is that varargs is not part of the ABI standard for C and varies by compiler so we can't reliably call varargs functions. We do some sketchy calls to varargs functions in mpfr.jl though if you want to take a look in there snprintf something.
> On Jun 10, 2014, at 6:09 PM, J Luis <[email protected]> wrote: > > Hi, > > How would I turn this C function prototype into a ccall? > > Ihandle* IupVbox(Ihandle *child, ...); > > The varargs here mean that all but last optional arguments are of the same > type a `child`. The last one must be NULL. > Let me also add that Clang.jl skipped these type of declarations
