Eric Poggel wrote: > Daniel Keep wrote: >> >> Eric Poggel wrote: >>> ... >>> >>> Also, do you see any problems that would arise from replacing functions >>> with delegates internally, so that no more conversions between them >>> would be required? >> >> Say goodbye to being able to call non-D libraries that take callbacks? > > cfunc(&foo.funcptr) > > ?
Umm, no. Delegates have a different calling convention to function pointers. It will expect the context pointer in EAX.
