public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Richard Henderson <rth@redhat.com>
Cc: Tom Tromey <tom@tromey.com>,
	 libffi-discuss <libffi-discuss@sourceware.org>
Subject: Re: documentation patch, oddities, and proposals
Date: Wed, 04 Nov 2015 14:20:00 -0000	[thread overview]
Message-ID: <87r3k526ei.fsf@tromey.com> (raw)
In-Reply-To: <5639B430.2010807@redhat.com> (Richard Henderson's message of	"Wed, 4 Nov 2015 08:30:56 +0100")

>> I wasn't sure -- is this needed in some way for the closure API as
>> well?  If so, and someone can explain where (that is, arguments,
>> return values, or both), I will write a documentation patch.

rth> As far as I can tell it's just historical, and now for api
rth> compatability with earlier libffi.  But perhaps Anthony remembers
rth> more.

I also didn't check to see how the "struct { char x; }" case is
handled.  Does that need ffi_arg?  And if so how is it unpacked?

rth> Instead, have a function call taking an enumeration for the basic
rth> types, as well as the abi enum.  Which means that ppc can have two
rth> separate structures for its longdouble, which means that both can be
rth> read-only.

That's what I was thinking as well.

Tom

  reply	other threads:[~2015-11-04 14:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04  5:32 Tom Tromey
2015-11-04  5:35 ` Andrew Pinski
2015-11-04  7:31 ` Richard Henderson
2015-11-04 14:20   ` Tom Tromey [this message]
2015-11-04 14:24     ` Richard Henderson
2015-11-07 19:01   ` Tom Tromey
2015-11-09  7:39     ` Richard Henderson
2015-11-10 23:36   ` Tom Tromey
2015-11-16  4:27     ` Tom Tromey
2015-11-17  9:09       ` Richard Henderson

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=87r3k526ei.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=libffi-discuss@sourceware.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).