1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 00:59:24 -05:00
denoland-deno/test_ffi
Aapo Alasuutari 3d6fa64f19
feat(ext/ffi): Callbacks (#14663)
This commit adds support for unstable FFI
callbacks. A callback is registered using
the `Deno.UnsafeCallback` API.

The backing memory for the callback can 
be disposed of using `Deno.UnsafeCallback#close`.
It is not safe to pass the callback after calling
close.

Callbacks from other than the isolate thread
are not supported.

Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2022-06-20 16:36:04 +05:30
..
src feat(ext/ffi): Callbacks (#14663) 2022-06-20 16:36:04 +05:30
tests feat(ext/ffi): Callbacks (#14663) 2022-06-20 16:36:04 +05:30
Cargo.toml chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
README.md feat: ffi to replace plugins (#11152) 2021-08-06 23:28:10 +02:00

test_ffi crate