Creating D bindings for a C library

cym13 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 24 15:49:25 PST 2015


On Tuesday, 24 November 2015 at 23:22:24 UTC, Joseph Rushton 
Wakeling wrote:
> On Tuesday, 24 November 2015 at 23:14:14 UTC, Joseph Rushton 
> Wakeling wrote:
>> I'm considering creating some D bindings for a C library.
>
> I should probably clarify that I know what to do assuming I 
> have to write all the bindings manually.  However, as the 
> library has quite a lot of header files, I'd really much rather 
> auto-convert as much as possible, hence the questions above :-)

There are some binding generator the most two famous being htod 
and dstep: 
http://wiki.dlang.org/List_of_Bindings#Binding_generators


More information about the Digitalmars-d-learn mailing list