extern (D)?
Rob T
alanb at ucora.com
Thu Jan 17 17:01:52 PST 2013
The usual way to link in D libs into D code is to include the
required D module source files, but that gives away all of the
source code which in some instances is not possible to do (eg
legal reasons). The other way is to create a c-style API using
extern (C), but that means translating some structures from D to
C, and then from C back to D which is not a nice solution. As far
as I know, there's no extern (D), but maybe there is something
like it available. Anyone know?
--rt
More information about the Digitalmars-d-learn
mailing list