Differences From Artifact [dca1029f28]:
- File
generators/TableGenerator.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 13191) [annotate] [blame] [check-ins using]
To Artifact [f7c6b63b6d]:
- File
generators/TableGenerator.m
— part of check-in
[933d834f60]
at
2017-06-27 19:42:15
on branch trunk
— TableGenerator: Add _Nonnull to output
This was added to the generated file before, but not the generator. (user: js, size: 13227) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
463 464 465 466 467 468 469 | _uppercaseTableSize, _lowercaseTableSize, _titlecaseTableSize, _casefoldingTableSize]]; [file writeString: @"#ifdef __cplusplus\n" @"extern \"C\" {\n" @"#endif\n" | | | | | | 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 | _uppercaseTableSize, _lowercaseTableSize, _titlecaseTableSize, _casefoldingTableSize]]; [file writeString: @"#ifdef __cplusplus\n" @"extern \"C\" {\n" @"#endif\n" @"extern const of_unichar_t *const _Nonnull\n" @" of_unicode_uppercase_table[" @"OF_UNICODE_UPPERCASE_TABLE_SIZE];\n" @"extern const of_unichar_t *const _Nonnull\n" @" of_unicode_lowercase_table[" @"OF_UNICODE_LOWERCASE_TABLE_SIZE];\n" @"extern const of_unichar_t *const _Nonnull\n" @" of_unicode_titlecase_table[" @"OF_UNICODE_TITLECASE_TABLE_SIZE];\n" @"extern const of_unichar_t *const _Nonnull\n" @" of_unicode_casefolding_table[" @"OF_UNICODE_CASEFOLDING_TABLE_SIZE];\n" @"#ifdef __cplusplus\n" @"}\n" @"#endif\n"]; objc_autoreleasePoolPop(pool); } @end |