On Wednesday, 21 March 2018 at 16:22:45 UTC, Martin Tschierschke wrote:
Is there an step by step introduction how to convert a C header of an external lib into the right extern(C){} block?

A blog post or tutorial, or chapter in a D book? (I have those from Packt Publishing)

While googling I found this:
https://dlang.org/blog/2017/12/05/interfacing-d-with-c-getting-started/

Haven't read it yet, but might give you some more insight.

For automatic conversion I stumbled across Dstep which I so far like a lot:
https://github.com/jacob-carlborg/dstep

Reply via email to