This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Floating-point variadic function call


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]