should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
import sys
contents = bytearray(sys.stdin.buffer.read())
# encode the data into the stubdata file
result_text = ",".join(map(str, contents))
new_contents = """
// This file is generated by scripts/inline-data.py, do not edit it manually //
#include "unicode/utypes.h"
#include "unicode/udata.h"
#include "unicode/uversion.h"
extern "C" U_EXPORT const unsigned char U_ICUDATA_ENTRY_POINT [] = {
%s
};
""" % (
result_text,
)
sys.stdout.write(new_contents)