[Lazarus] Masks: the naming of ...
Maxim Ganetsky
ganmax at narod.ru
Wed Oct 27 23:56:09 CEST 2021
27.10.2021 18:50, Bart via lazarus пишет:
> Hi,
>
> I thought I better start a new therad for this one, otherwise I get
> lost in the previous "TMask revisited" thread.
>
> I would like to rename some stuff, now we still can.
>
> Easier to remeber IMO:
> WindowsQuirksAllAllowed -> AllWindowsQuirks
> WindowsQuirksDefaultAllowed -> DefaultWindowsQuirks
>
> MaskOpCodesAllAllowed -> AllMaskOpcodes
> MaskOpCodesDefaultAllowed -> DefaultMaskOpcodes
>
> property RangeAutoReverse -> AutoReverseRange
>
> Internal consistency:
>
> TMaskWindows -> TWindowsMask
> TMaskListWindows -> TWindowsMaskList
> (Because of the Matches* functions we already have)
>
> Consitent coding style:
> TMaskParsedCode enums: mpcXXX
> TMaskFailCause enums: mfcXXX
>
> Opinions please.
Looks good to me.
--
Best regards,
Maxim Ganetsky mailto:ganmax at narod.ru
More information about the lazarus
mailing list