sending a delegate through extern (C)

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Apr 13 15:36:47 PDT 2014


On Thursday, 27 March 2014 at 00:46:33 UTC, Etienne wrote:
> Hi,
>
> I'm trying to send a delegate to a modified version of 
> druntime's GC as follows:
>
> struct GC {
> 	static void onCollect(void* dg)
> 	{
> 		gc_onCollect(cast(void*)dg);
> 	}

There isn't enough information here to extract what's going on in 
your code.


More information about the Digitalmars-d-learn mailing list