Question about function aliases

Gary Willoughby dev at nomad.so
Tue Dec 17 12:36:43 PST 2013


On Thursday, 12 December 2013 at 11:39:56 UTC, FreeSlave wrote:
> I guess alias also should include extern(C) declaration i.e. 
> the right way is
> alias Tcl_InterpDeleteProc = extern(C) void function(ClientData 
> clientData, Tcl_Interp* interp) nothrow;

Unfortunately that syntax doesn't compile. The alternative does 
however.


More information about the Digitalmars-d-learn mailing list