Using dpp on the openmpi headers
bachmeier
no at spam.net
Fri Mar 13 13:00:32 UTC 2020
On Friday, 13 March 2020 at 10:44:08 UTC, Andre Pany wrote:
> On Friday, 13 March 2020 at 08:08:17 UTC, Peter Jacobs wrote:
>> Given the recent thread that mentioned dpp for generating an
>> interface module for a C library, I thought that I would give
>> it a go on the openmpi headers. I am working in LinuxMint
>> system and after making a symbolic link for libclang.so, I
>> have had some success but not complete success.
>>
>> [...]
>
> DPP cannot translate macros. Another problem is inlined
> functions. While DPP generates their headers, their
> implementations are missing in the binary files.
> In both cases you have to reimplement the functions in D.
>
> Kind regards
> Andre
Some of that can be done by dstep:
https://github.com/jacob-carlborg/dstep
More information about the Digitalmars-d
mailing list