digitalmars.D - ImportC is now scanning the #defines
- Walter Bright (7/7) May 20 2022 Well, after this PR is pulled!
- bauss (2/10) May 21 2022 Very nice, thank you Walter for all the work on importC.
- Walter Bright (3/3) May 24 2022 It's been pulled now!
Well, after this PR is pulled! https://github.com/dlang/dmd/pull/14151 It's working with cpp, cl, and sppn. Of course, the only pattern it currently detects is the simplest: #define XYZ 1 becomes: enum XYZ = 1;
May 20 2022
On Saturday, 21 May 2022 at 03:38:40 UTC, Walter Bright wrote:Well, after this PR is pulled! https://github.com/dlang/dmd/pull/14151 It's working with cpp, cl, and sppn. Of course, the only pattern it currently detects is the simplest: #define XYZ 1 becomes: enum XYZ = 1;Very nice, thank you Walter for all the work on importC.
May 21 2022
It's been pulled now! Now the major pieces of its functionality are all in place. A big thanks to everyone who helped out with this, especially Iain!
May 24 2022