D 2.0 - dalegates to function

Lionello Lunesu lio at lunesu.remove.com
Thu Mar 1 03:58:46 PST 2007


sergk wrote:
> Perhaps it's time to to bump an old request postponed to 2.0 times =)
> 
> So, how about to add some thunking magic - how  complex/complicated to implement it?
> 

There should be no reason for any thunking. The calling convention 
should be made compatible: the context-pointer of a delegate should be 
put in a register that's simply ignored by functions (without context).

Or am I missing something?

L.



More information about the Digitalmars-d mailing list