Generating .di header files from ImportC files

Walter Bright newshound2 at digitalmars.com
Sat Oct 21 17:04:40 UTC 2023


On 10/21/2023 1:12 AM, Imperatorn wrote:
> Can you expand on how dmd can convert C to D? I didn't quite get that part.

DMD already has the capability to read in a .d file, then from the AST generate 
a .di file. Since ImportC gets turned into an AST, too, it can turn that AST 
into a .di file, too.


More information about the Digitalmars-d mailing list