Newbie initial comments on D language - delegate

Janice Caron caron800 at googlemail.com
Wed Jan 30 00:36:51 PST 2008


On Jan 30, 2008 8:16 AM, Don Clugston <dac at nospam.com.au> wrote:
> How do you declare
> oldFashionedCFunction() ?

The old fashioned way?

    extern(C) void (*callback)(int,int);


> what is an extern(C) delegate ?

How can that even make sense? C does not have delegates.



More information about the Digitalmars-d mailing list