Newbie initial comments on D language - delegate

Leandro Lucarella llucax at gmail.com
Wed Jan 30 06:58:34 PST 2008


Janice Caron, el 30 de enero a las 08:36 me escribiste:
> 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);

That's that the keyword function is for. What's the point of removing it
if we need it?

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
"CIRILO" Y "SIRACUSA" DE "SEÑORITA MAESTRA": UNO MUERTO Y OTRO PRESO
	-- Crónica TV



More information about the Digitalmars-d mailing list