mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
ICU-8105 PropNameData constants need to be defined in the icu namespace
X-SVN-Rev: 29254
This commit is contained in:
parent
beb1e5718e
commit
951e2b9f40
1 changed files with 5 additions and 1 deletions
|
@ -456,6 +456,8 @@ static void writeCSourceFile(const char *destdir, const Builder& builder) {
|
|||
"# error This file must be #included from propname.cpp only.\n"
|
||||
"#endif\n\n", f);
|
||||
|
||||
fputs("U_NAMESPACE_BEGIN\n\n", f);
|
||||
|
||||
usrc_writeArray(f, "const int32_t PropNameData::indexes[%ld]={",
|
||||
builder.indexes, 32, PropNameData::IX_COUNT,
|
||||
"};\n\n");
|
||||
|
@ -468,7 +470,9 @@ static void writeCSourceFile(const char *destdir, const Builder& builder) {
|
|||
usrc_writeArrayOfMostlyInvChars(
|
||||
f, "const char PropNameData::nameGroups[%ld]={\n",
|
||||
builder.nameGroups.data(), builder.nameGroups.length(),
|
||||
"\n};\n");
|
||||
"\n};\n\n");
|
||||
|
||||
fputs("U_NAMESPACE_END\n", f);
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue