I want to try D-programing language but it doesn't support C++ include files...
Yes, you can. Look at cal.h (bold part in fragment below):
#ifdef __cplusplusextern "C" {#define CALAPI#else#define CALAPI extern#endif