Add modules to C with 10 lines of code

Walter Bright newshound2 at digitalmars.com
Sun Jan 16 23:07:54 UTC 2022


On 1/16/2022 2:31 PM, jmh530 wrote:
> Would it be possible to have a block of ImportC code in D code? For instance for 
> people gradually converting C code to D code.

I had thought of that, as I've done gradual conversions myself. But using 
version's on the D side and #if on the C side works well enough, and I'd hate 
for it to be more than a temporary state of the code.


More information about the Digitalmars-d mailing list