commit | 44bcb4a1475aeb0c4bce1cba0c30f5ee01eb50d9 | [log] [tgz] |
---|---|---|
author | arthurhsu@google.com <arthurhsu@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51> | Fri Jul 08 23:09:32 2011 +0000 |
committer | arthurhsu@google.com <arthurhsu@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51> | Fri Jul 08 23:09:32 2011 +0000 |
tree | 1d9c6fd68c8fd441c531b1f4712c0d394f5b30ce | |
parent | 0e411afcef9fc211b3f8f70d31bc1dfa4c0f85d3 [diff] |
Update static const ints to enums so that these enums can be used in switch-case. There are two exceptions: 1. if original Java code uses static const int, we keep it that way. 2. C++ compilers may not support 64-bit enum so we need to define them as static const uint64_t git-svn-id: http://sfntly.googlecode.com/svn/trunk/cpp/src@6 672e30a5-4c29-85ac-ac6d-611c735e0a51