Designing an API with D.

Agustin agustin.l.alvarez at hotmail.com
Mon Sep 30 17:37:47 PDT 2013


Hello, i'm trying to make a library and i would like to use that
library on a separated application using only interfaces. I know
how to do it using C++, but i don't known using D. Can anyone
help me?

Project #1
include/*.d -> These are interfaces.
src/*.d     -> Implementation code using those interface.

Project #2
src/*.d     -> Its code using only Project #1's include folder
without implementation code.

Thanks!


More information about the Digitalmars-d-learn mailing list