[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Fri Aug 1 15:17:51 CEST 2008
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 08/08/01 15:17:51
Modified files:
cm3/m3-libs/m3core/src/win32/: WinGDI.i3 WinGDI.m3 WinUser.i3
WinUser.m3
Log message:
some header updates and repair
not all of it compatible -- identifiers not in headers generally removed
"max" identifiers that aren't constants, removed
The Modula-3 headers appear to be from VERY old Windows headers, possibly NT 3.1 beta
since the level of stuff the Modula-3 headers make up that isn't in headers is surprising.
only added result of findstr #define on winuser.h
did not check if things #if'ed out
did not add new functions
this triggered by alarm over unrecognized output of
windows message tracing, which was merely a message that
didn't exist long ago when this stuff was written
ie: pre NT 4 -- by a lot I think.
always normalize some booleans to true/false
the extra check of is_chicago is not worthwhile
not worth the cost to initialize and use the global
though Modula-3 ought to define boolean as a full 32 bit integer that is 0 or non-zero like C...
probably should just do this for all extern functions?????
it is not really probably a bug for C to return other values for true
note that Modula-3 doesn't have the "#if WINVER >= 0x4000" stuff.
everything is unconditionally declared
m3core.dll et. al. should probably take care to GetProcAddress
anything they use that was added after some agreed upon
lowest common denominator
all this header duplication could really use some automation/verification
none introduced here today..
More information about the M3commit
mailing list