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: return value buffer malloc()'ed vs alloca()'ed


On Tue, 08 Oct 2013 18:45:50 +0100
Andrew Haley <aph@redhat.com> wrote:

> 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.
> 

Thank you,

I have got a clue

stack/heap allocation does not matter here

-- 
Sincerely yours,

Igor Bogomazov


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