Creating D bindings for a C library
ponce via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Nov 25 09:45:46 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 :-)
If doing it by hand, some tips here:
http://p0nce.github.io/d-idioms/#Porting-from-C-gotchas
More information about the Digitalmars-d-learn
mailing list