On Wednesday, 1 July 2020 at 07:26:44 UTC, Anthony wrote:
When doing interop with a c library, is there a way to automatically generate the fields that are needed for a struct?
Is there an easier way though?
Dstep is probably what you're looking for: https://github.com/jacob-carlborg/dstep
It eats C header files and creates appropriate D files from them. -- Simen