MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / writeUnicodeHeader

Function writeUnicodeHeader

scripts/__tests__/check-unicode-sync.test.mjs:34–39  ·  view source on GitHub ↗
(root, baseDir)

Source from the content-addressed store, hash-verified

32}
33
34function writeUnicodeHeader(root, baseDir) {
35 writeUtf8(
36 join(root, baseDir, "src/unicode/zr_unicode_data.h"),
37 ["typedef enum zr_gcb_class_t {", " ZR_GCB_OTHER = 0,", "} zr_gcb_class_t;", ""].join("\n"),
38 );
39}
40
41function writeUnicodeInc(root, baseDir, eol) {
42 const joinEol = (lines) => lines.join(eol) + eol;

Callers 1

Calls 1

writeUtf8Function · 0.70

Tested by

no test coverage detected