I know the compiler has C++ header generation, and there's tons of tools which exist for importing C headers into D code. I'm not aware of anything which goes the other direction. Google wasn't much help either.
Generating C Headers From D Code
Jack Stouffer via Digitalmars-d-learn Thu, 05 Aug 2021 09:30:51 -0700
I need to generate plain C99 .h files from a D module's extern(C)
declarations, so that I can link a DMD generated .o file with a C
code base. Are there any automated tools which do this?
- Generating C Headers From D Code Jack Stouffer via Digitalmars-d-learn
- Re: Generating C Headers From D... Tejas via Digitalmars-d-learn
- Re: Generating C Headers Fr... Tejas via Digitalmars-d-learn
- Re: Generating C Headers Fr... Jack Stouffer via Digitalmars-d-learn
- Re: Generating C Headers From D... Adam D Ruppe via Digitalmars-d-learn