Ease of calling C code from D
Dicebot
public at dicebot.lv
Tue Jan 28 13:05:37 PST 2014
On Tuesday, 28 January 2014 at 20:55:15 UTC, Craig Dillabaugh
wrote:
> I used dstep to generate a D interface to FFTW (Fastest
> Fourier-Transform in the West). The header for FFTW includes a
> massive 100 line (or thereabouts) macro, that basically
> generates all the function signatures.
>
> I ran dstep on fftw3.h and although I have only tested the
> result a little, thus far it appears to have done a great job!
>
> Craig
Right now it will simply expand all macros before conversion. If
that is OK, its macro handling capabilities are pretty much equal
to clang :)
More information about the Digitalmars-d
mailing list