diff options
author | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-03-18 13:40:09 +0000 |
---|---|---|
committer | jthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-03-18 13:40:09 +0000 |
commit | 3932e386fc392be2735e25c864f99e7bb28e05c9 (patch) | |
tree | 1d1744bd9fbfe089b84e4a1f6a1ee672d5103291 /src/include/util_Table.h | |
parent | c8953e9995e040f5f54a57781bbd898d11113fea (diff) |
change hexadecimal flags-words constants to decimal so Fortran 77
will grok them (keep hex values in comments since they're convenient
for C bitwise-oring)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4011 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/util_Table.h')
-rw-r--r-- | src/include/util_Table.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/util_Table.h b/src/include/util_Table.h index 1312801c..26672b94 100644 --- a/src/include/util_Table.h +++ b/src/include/util_Table.h @@ -33,6 +33,12 @@ extern "C" /***** Macros for Flags Word **************************************************/ /******************************************************************************/ +/* + * The hexadecimal forms are more convenient for thinking about + * bitwise-oring, but alas Fortran 77 doesn't seem to support + * hexadecimal constants, so we give the actual values in decimal. + */ + /*@@ @defines UTIL_TABLE_FLAGS_DEFAULT @desc flags-word macro: no flags set (default) @@ -43,7 +49,7 @@ extern "C" @defines UTIL_TABLE_FLAGS_CASE_INSENSITIVE @desc flags-word macro: key comparisons are case-insensitive @@*/ -#define UTIL_TABLE_FLAGS_CASE_INSENSITIVE 0x1 +#define UTIL_TABLE_FLAGS_CASE_INSENSITIVE 1 /* 0x1 */ /*@@ @defines UTIL_TABLE_FLAGS_USER_DEFINED_BASE @@ -52,7 +58,7 @@ extern "C" all bit positions below this one are reserved for current or future Cactus use) @@*/ -#define UTIL_TABLE_FLAGS_USER_DEFINED_BASE 0x10000 +#define UTIL_TABLE_FLAGS_USER_DEFINED_BASE 65536 /* 0x10000 */ /******************************************************************************/ /***** Error Codes ************************************************************/ |