Simple c header => Dlang constants using mixins in compile time
Igor Shirkalin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jun 17 04:27:40 PDT 2017
On Saturday, 17 June 2017 at 11:23:52 UTC, Cym13 wrote:
> On Saturday, 17 June 2017 at 11:20:53 UTC, Igor Shirkalin wrote:
>> [...]
>
> I'm sure others will have cleaner solutions as as a quick hack
> you can read the file at compile time, modify it, and compile
> the D code on the go:
>
> [...]
Thanks a lot! That what I was looking for.
More information about the Digitalmars-d-learn
mailing list