mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib stubs: internalize private data
This commit is contained in:
@@ -58,7 +58,7 @@ trie_generator.serialize(grapheme_cluster_break_property_table)
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
const uint8_t _swift_stdlib_GraphemeClusterBreakPropertyTrieImpl[] = {
|
||||
static const uint8_t _swift_stdlib_GraphemeClusterBreakPropertyTrieImpl[] = {
|
||||
% for byte in trie_generator.trie_bytes:
|
||||
${byte},
|
||||
% end
|
||||
@@ -123,7 +123,7 @@ extended_grapheme_cluster_rules_matrix = \
|
||||
}%
|
||||
|
||||
|
||||
const uint16_t _swift_stdlib_ExtendedGraphemeClusterNoBoundaryRulesMatrixImpl[] = {
|
||||
static const uint16_t _swift_stdlib_ExtendedGraphemeClusterNoBoundaryRulesMatrixImpl[] = {
|
||||
% for row in get_extended_grapheme_cluster_rules_matrix(grapheme_cluster_break_property_table):
|
||||
${row},
|
||||
% end
|
||||
|
||||
Reference in New Issue
Block a user