Tool for producing module def files?

Jarrett Billingsley kb3ctd2 at yahoo.com
Mon Aug 25 06:55:32 PDT 2008


"Ken Barry" <kb9888 at gmail.com> wrote in message 
news:g8tmkc$2cqm$1 at digitalmars.com...
> Is there a tool for producing module definition files either from d source 
> or directly from a windows dll or is it necessary to write them by hand?

dmd -H foo.d

will give foo.di, which is a "header" containing all necessary declarations 
(and possibly definitions) to interface with a precompiled foo.obj/lib/o/a.

It tends to be buggy in some areas though. 




More information about the Digitalmars-d-learn mailing list