#include C headers in D code

Jacob Carlborg doob at me.com
Wed Apr 11 14:26:04 UTC 2018


On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote:
> Here's my blog post about my project that allows directly 
> #including C headers in D*

BTW, you can steal the config script [1] from DStep to help 
detect locations of LLVM/libclang. It also supports static 
linking. Supports manually specifying the path to LLVM if needed.

[1] 
https://github.com/jacob-carlborg/dstep/blob/master/configure.d

--
/Jacob Carlborg



More information about the Digitalmars-d-announce mailing list