mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
fcdcc8c0c3
See https://github.com/denoland/deno/pull/16814#discussion_r1032744083. Allows nullable buffers in low-level ops like FFI: ```rust fn op_ffi_ptr_of<FP>( state: &mut OpState, buf: *const u8, out: &mut [u32], ) where FP: FfiPermissions + 'static { // .. } ```
6 lines
125 B
Rust
6 lines
125 B
Rust
fn op_ffi_ptr_of<FP>(state: &mut OpState, buf: *const u8, out: &mut [u32])
|
|
where
|
|
FP: FfiPermissions + 'static,
|
|
{
|
|
// ..
|
|
}
|