A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/ce081bcb9a below:

fix build when using shared simdutf · nodejs/node@ce081bc · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -174,7 +174,7 @@ MaybeLocal<Object> TranscodeLatin1ToUcs2(Environment* env,

174 174

const char* source,

175 175

const size_t source_length,

176 176

UErrorCode* status) {

177 -

MaybeStackBuffer<UChar> destbuf(source_length);

177 +

MaybeStackBuffer<char16_t> destbuf(source_length);

178 178

auto actual_length =

179 179

simdutf::convert_latin1_to_utf16le(source, source_length, destbuf.out());

180 180

if (actual_length == 0) {

@@ -218,7 +218,7 @@ MaybeLocal<Object> TranscodeUcs2FromUtf8(Environment* env,

218 218

UErrorCode* status) {

219 219

size_t expected_utf16_length =

220 220

simdutf::utf16_length_from_utf8(source, source_length);

221 -

MaybeStackBuffer<UChar> destbuf(expected_utf16_length);

221 +

MaybeStackBuffer<char16_t> destbuf(expected_utf16_length);

222 222

auto actual_length =

223 223

simdutf::convert_utf8_to_utf16le(source, source_length, destbuf.out());

224 224

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4