Mixin C

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Mar 8 03:37:02 UTC 2024


ImportC is fundamentally a compiler specific extension.

Having raw C blocks in a D file gives me concern for IDE's wrt. syntax 
highlighting.

We do have a comparable feature with inline assembly support in ldc/gdc 
where it uses strings.

I would suggest that this is the direction to go in rather than a raw 
code block.

It's a good idea that I do think is the right approach to the problem.


More information about the dip.ideas mailing list