This commit is contained in:
Jarred Sumner
2021-04-29 20:22:25 -07:00
parent 38c7eb73c1
commit 2567243c8d
5 changed files with 1493 additions and 51 deletions

View File

@@ -181,7 +181,7 @@ pub fn toUTF16Buf(in: string, out: []u16) usize {
}
}
return utf8Iterator.i;
return i;
}
pub fn toUTF16Alloc(in: string, allocator: *std.mem.Allocator) !JavascriptString {