Questions about trampolines
Alexander Strange
astrange@ithinksw.com
Mon Mar 14 22:28:00 GMT 2005
On Mar 14, 2005, at 8:11 AM, Marc Espie wrote:
> In article <4234D2CB.1010703@adacore.com> you write:
>> Well as I said above, trampolines or an equivalent are currently
>> critically
>> needed by some front ends (and of course by anyone using the (very
>> useful IMO)
>> extension of nested functions in C).
>
> This is your opinion, but I've yet to find an actual piece of code in a
> real project that uses that extension.
I use it; it involves writing less code than a userdata pointer would.
I admit that I've never encountered any other code that takes the
address of local functions, and I could easily use inlining to stop it
using trampolines.
More information about the Gcc
mailing list