mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-2015 add header vtable check per review
X-SVN-Rev: 10363
This commit is contained in:
parent
dc7dc3cb9f
commit
97a528130e
1 changed files with 3 additions and 0 deletions
|
@ -667,6 +667,9 @@ void Builder::computeOffsets() {
|
|||
printf("header \t offset=%4d size=%5d\n", 0, off);
|
||||
}
|
||||
|
||||
// PropertyAliases must have no v-table and must be
|
||||
// padded (if necessary) to the next 32-bit boundary.
|
||||
U_ASSERT(offsetof(PropertyAliases, enumToName_offset) == 0);
|
||||
U_ASSERT(sizeof(header) % sizeof(int32_t) == 0);
|
||||
|
||||
#define COMPUTE_OFFSET(foo) COMPUTE_OFFSET2(foo,int32_t)
|
||||
|
|
Loading…
Add table
Reference in a new issue