Calling D functions from C

BCS ao at pathlink.com
Tue May 27 09:56:17 PDT 2008


Reply to Matthias,


> # extern (C) int myFunctionWrapper (char a, int b, char* c)
> # {
> #    return myFunction (a,b,c); // myFunction is a normal D function.
> # }

that deserves a template. 

I guess I known what to do at lunch today.




More information about the Digitalmars-d-learn mailing list