mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 12:51:45 -04:00
v8: update for changes to v8__String__WriteUtf8
https://github.com/lightpanda-io/zig-v8-fork/pull/211
This commit is contained in:
8 files changed
+13
-12
No files matched your search
@@ -975,7 +975,8 @@ fn stringToOwned(
|
||||
self.env.isolate.handle,
|
||||
buf.ptr,
|
||||
buf.len,
|
||||
v8.NO_NULL_TERMINATION | v8.REPLACE_INVALID_UTF8,
|
||||
v8.WRITE_REPLACE_INVALID_UTF8,
|
||||
null,
|
||||
);
|
||||
return buf[0..written];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user