Floating-point variadic function call

Damien Thébault damien@dtbo.net
Tue Oct 11 19:12:00 GMT 2016


On Tue, 11 Oct 2016 08:27:02 -0500
Richard Henderson <rth@redhat.com> wrote:
> > I'm actually using ffi_prep_cif_var() for the variadic call, but
> > what should I put as arg_type then ?  
> 
> You must do the mandatory C promotion yourself.  Put ffi_type_double.

Ok thank you, I will handle that on my side then, this should not be a
problem.

-- 
Damien Thébault



More information about the Libffi-discuss mailing list