mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-2729 Use read-only memory for strings and arrays.
X-SVN-Rev: 11415
This commit is contained in:
parent
d1970263ab
commit
ec4d8815ec
2 changed files with 3 additions and 3 deletions
|
@ -91,7 +91,7 @@ digitToBasic(int32_t digit, UBool uppercase) {
|
|||
* point (for use in representing integers) in the range 0 to
|
||||
* BASE-1, or -1 if b is does not represent a value.
|
||||
*/
|
||||
static int8_t
|
||||
static const int8_t
|
||||
basicToDigit[256]={
|
||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||||
|
|
|
@ -32,8 +32,8 @@ static UTrie idnTrie={ 0,0,0,0,0,0,0 };
|
|||
static UDataMemory* idnData=NULL;
|
||||
static UErrorCode dataErrorCode =U_ZERO_ERROR;
|
||||
/* file definitions */
|
||||
static const char* DATA_NAME = "uidna";
|
||||
static const char* DATA_TYPE = "icu";
|
||||
static const char DATA_NAME[] = "uidna";
|
||||
static const char DATA_TYPE[] = "icu";
|
||||
|
||||
U_CFUNC UBool
|
||||
ustrprep_cleanup() {
|
||||
|
|
Loading…
Add table
Reference in a new issue