1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/test_ffi
Matt Mastracci 1619932a65
chore(ext/ffi): migrate from op -> op2 for ffi (#20509)
Migrate to op2. Making a few decisions to get this across the line:

- Empty slices, no matter where the come from, are null pointers. The v8
bugs (https://bugs.chromium.org/p/v8/issues/detail?id=13489) and
(https://bugs.chromium.org/p/v8/issues/detail?id=13488) make passing
around zero-length slice pointers too dangerous as they might be
uninitialized or null data.
- Offsets and lengths are `#[number] isize` and `#[number] usize`
respectively -- 53 bits should be enough for anyone
- Pointers are bigints. This is a u64 in the fastcall world, and can
accept Integer/Int32/Number/BigInt v8 types in the slow world.
2023-10-05 15:35:21 +02:00
..
src chore: fix typos (#19572) 2023-06-26 09:10:27 -04:00
tests chore(ext/ffi): migrate from op -> op2 for ffi (#20509) 2023-10-05 15:35:21 +02:00
Cargo.toml chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
README.md feat: ffi to replace plugins (#11152) 2021-08-06 23:28:10 +02:00

test_ffi crate