mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 03:43:00 -05:00

Makes `op_ffi_ptr_of` fast. One of the tests changed from printing `false` to `true` as the fast `&[u8]` slice path creates the slice with a null pointer. Thus the `op_ffi_ptr_of` will now return a null pointer value whereas previously it returned a dangling pointer value.
1 line
68 B
JavaScript
1 line
68 B
JavaScript
Deno.core.ops.op_ffi_ptr_of(new Uint8Array(0), new Uint32Array(2));
|