Windows Header consts
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Sep 7 10:59:41 PDT 2015
On Monday, 7 September 2015 at 17:44:54 UTC, Prudence wrote:
> const WM_* -> add to enum WM;
> else WM_* -> WM.*
I'm against that. The documentation all says WM_* and we
shouldn't muck with it.
const -> enum is a good idea though. These headers were all
written waaaaay back when when const and enum had different
meanings.
> I guessing one would need a D or C parser to deal with all this?
hackerpilot's dfix would be the starting point.
More information about the Digitalmars-d-learn
mailing list