On 2012-09-25 13:39, Daniel Kozak wrote:
Hello,


I try to make for example some small library called libX. In C/C++ I can
make libX.h(pp) and libX.c(xx), where libX.h will contain only interface
for implementation from libX.c.

How can I achive this in D2?

When I trak dmd -o- -op -H libX.d it will generate libX.di, but this
file always contains all source code from libX.d. It just strip comments.

You can manually create .di files just as you would with C/C++.

--
/Jacob Carlborg

Reply via email to