Using a delegate when interfacing with C

Marco Cosentino via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 5 15:45:39 PDT 2014


On Saturday, 5 July 2014 at 22:28:48 UTC, Adam D. Ruppe wrote:

> In general, remember any class reference in D is already 
> equivalent to a pointer in C or C++ and can be casted straight 
> to void* without needing to take its address.

Thanks Adam,
you're a life saver ;). It works like a charme.


More information about the Digitalmars-d-learn mailing list