Wrapping D library with a C API
Chris via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 14 06:31:55 PDT 2014
On Monday, 14 July 2014 at 13:25:46 UTC, chaoskampf wrote:
> Is it possible to expose a C interface from a D library? I
> think this is one of the really powerful features of C++. It
> allows bindings to be written for basically every other
> language.
D and C can interface both ways:
http://dlang.org/interfaceToC.html
PS Your question should be posted under D.learn
http://forum.dlang.org/group/digitalmars.D.learn
More information about the Digitalmars-d
mailing list