public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Damien Thébault" <damien@dtbo.net>
To: Richard Henderson <rth@redhat.com>
Cc: Andrew Pinski <pinskia@gcc.gnu.org>,
	"libffi-discuss@sourceware.org" <libffi-discuss@sourceware.org>
Subject: Re: Floating-point variadic function call
Date: Tue, 11 Oct 2016 19:12:00 -0000	[thread overview]
Message-ID: <20161011211153.72cc9f4a@anakin> (raw)
In-Reply-To: <a0f9ac7b-832d-3954-b74e-6c849bfa4d3b@redhat.com>

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

      reply	other threads:[~2016-10-11 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10  7:04 Damien Thébault
2016-10-10  7:17 ` Andrew Pinski
2016-10-10  7:27   ` Damien Thébault
2016-10-11 13:27     ` Richard Henderson
2016-10-11 19:12       ` Damien Thébault [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161011211153.72cc9f4a@anakin \
    --to=damien@dtbo.net \
    --cc=libffi-discuss@sourceware.org \
    --cc=pinskia@gcc.gnu.org \
    --cc=rth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).