This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: return value buffer malloc()'ed vs alloca()'ed
- From: Andrew Haley <aph at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: Anthony Green <green at moxielogic dot com>, Igor Bogomazov <ygrex at ygrex dot ru>, libffi-discuss at sourceware dot org
- Date: Tue, 08 Oct 2013 18:45:50 +0100
- Subject: Re: return value buffer malloc()'ed vs alloca()'ed
- Authentication-results: sourceware.org; auth=none
- References: <20131008101354 dot 43baeeeb at ygrex-mac> <CACxje58LTEpBiaUHQn6Bp=Puvmz-Sg7gReGrWfz2Nz-diZG4GA at mail dot gmail dot com> <5254428A dot 9080204 at redhat dot com> <1307910644 dot 3010634 dot 1381254018689 dot JavaMail dot root at redhat dot com>
On 10/08/2013 06:40 PM, Anthony Green wrote:
> We've had this discussion many times...
>
> https://www.google.com/search?q=libffi+largest+integral+type&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
>
> particularly...
>
> http://sourceware-org.1504.n7.nabble.com/closure-api-return-value-types-problem-td201402.html
>
> I've written it off as a wart that we must live with (so, a documentation bug). But maybe somebody can demonstrate how to change it without impacting current users.
I'd garbage-collected it from my brain. I'm surprised no-one got
around to fixing the docs, and the "simple example" !
... but then I didn't do it either.
Andrew.