(svn r27755) -Codechange: Move TAB_SIZE to strings_type.h and use it consistently.
This commit is contained in:
@@ -16,13 +16,12 @@
|
||||
#ifdef WITH_ICU_SORT
|
||||
#include <unicode/coll.h>
|
||||
#endif /* WITH_ICU_SORT */
|
||||
#include "strings_type.h"
|
||||
|
||||
static const uint8 CASE_GENDER_LEN = 16; ///< The (maximum) length of a case/gender string.
|
||||
static const uint8 MAX_NUM_GENDERS = 8; ///< Maximum number of supported genders.
|
||||
static const uint8 MAX_NUM_CASES = 16; ///< Maximum number of supported cases.
|
||||
|
||||
static const uint TAB_SIZE_BITS = 11; ///< The number of bits used for the tab size.
|
||||
static const uint TAB_SIZE = 1 << TAB_SIZE_BITS; ///< The number of values in a tab.
|
||||
static const uint TAB_COUNT_BITS = 5; ///< The number of bits used for the amount of tabs.
|
||||
static const uint TAB_COUNT = 1 << TAB_COUNT_BITS; ///< The amount of tabs.
|
||||
|
||||
|
Reference in New Issue
Block a user