mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -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));
|