ImportC + metaprogramming?

Walter Bright newshound2 at
Sun Jan 16 08:13:37 UTC 2022

In this PR,

I added the ability for an ImportC file to import a D file. The initial purpose 
was so that core.stdc.stdarg could be imported to support variadics in C, 
without reimplementing them.

I realized that this actually works - ImportC code can call D code! even use D 

So then I got to thinking "what the hell have I unleashed?"

I think I just destroyed dtoh.

More information about the Digitalmars-d mailing list