Translation of C function pointer.

BCS none at anon.com
Thu Sep 16 07:06:24 PDT 2010


Hello Steven,

> // note you can't use void as a parameter type in D
> void (*(*xDlSym)(sqlite3_vfs*,void*, const char *zSymbol))(/*void*/);
> pragma(msg, typeof(xDlSym).stringof);
> outputs:
> 
> void function() function(sqlite3_vfs*, void*, const const(char*)
> zSymbol)

D, now with C type un-garbleing!

-- 
... <IXOYE><





More information about the Digitalmars-d-learn mailing list