Is there an easy way to convert a C header to a D module?

Adam D. Ruppe destructionator at gmail.com
Mon Mar 15 02:03:09 UTC 2021


On Monday, 15 March 2021 at 01:53:31 UTC, Tim wrote:
> I'm needing to use a c/c++ library in a D program and I'm 
> struggling with creating a binding as it seems like an enormous 
> amount of regex modifications. Is there an existing program 
> that can create most if not all of a binding for me?

https://github.com/jacob-carlborg/dstep

That does most of it, then you fix it up with some regex or 
whatever to finish the job.


More information about the Digitalmars-d-learn mailing list