[fpc-devel] [patch] - types.pp
graemeg.lists at gmail.com
Tue Nov 21 10:18:12 CET 2006
Attached is a patch for types.pp. It must be applied from the root
FPC Source directory.
* As suggested by Vinzent Hoefler, regarding my patch supplied on the
25 July. I removed the SIZE = TSize declaration from types.pp. I
searched all of the FPC Src for any references to SIZE. All I could
find was local Size variables or types, all declared in the units it
was needed, never using the one declared in the types.pp unit. If I
missed on, it can just be change to TSize. I recompiled the whole FPC
Source and compiled Lazarus and a few of my apps and they all seem to
be happy with SIZE being gone.
* Added two new Size() functions that work the same as Rect(),
Bounds() or Point().
function Size(AWidth, AHeight: Integer): TSize;
function Size(ARect: TRect): TSize;
Location: S 34° 03.168' E018° 49.342'
There's no place like 127.0.0.1
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1092 bytes
Desc: not available
More information about the fpc-devel