mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 10:09:20 -05:00
e2be70b035
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));
|