stdlib stubs: internalize private data

This commit is contained in:
Dmitri Gribenko
2016-07-02 02:23:39 -07:00
parent eef56b54b0
commit 1562c101f3

View File

@@ -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