summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/unstable_ffi_7.js
AgeCommit message (Collapse)Author
2022-06-20feat(ext/ffi): Callbacks (#14663)Aapo Alasuutari
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-03-25fix(ext/ffi): enforce unstable check on ops (#14115)Luca Casonato