Add comments about complementarity for enum en_gswitches and tglobalbool globalbool array

This commit is contained in:
Stas Degteff 2006-02-04 18:26:29 +00:00
parent cead5992ee
commit 383fb1d734
2 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,9 @@ struct tglobalbool {
word crc_token;
};
// it must be sorted by value
// globalbool[] array elements shoulds be complemented with
// en_gswitches{} enumeration elements (see gecfgg.h).
// globalbool[] array must be sorted by value
tglobalbool globalbool[gswitches_last] = {
{ CRC_INTERNETLOOKUP }, // 0x0E22;
{ CRC_KLUDGECHRS }, // 0x0EEF;

View File

@ -28,7 +28,8 @@
// ------------------------------------------------------------------
// en_gswitches{} enumeration elements shoulds be complemented with
// globalbool[] array elements (see gccfgg0.cpp).
enum en_gswitches {
internetlookup,
kludgechrs,