Generating struct members from c structs
simen.kjaras at gmail.com
Wed Jul 1 07:59:43 UTC 2020
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:
It eats C header files and creates appropriate D files from them.
More information about the Digitalmars-d-learn