This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
1
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2025-01-19 04:16:00 -05:00
Code
Issues
Packages
1
Wiki
Activity
e3b40ae0ea
denoland-deno
/
cli
/
tests
/
testdata
/
unstable_ffi_2.js
6 lines
100 B
JavaScript
Raw
Normal View
History
Unescape
Escape
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 14:06:04 +03:00
Deno
.
core
.
opSync
(
"op_ffi_call_ptr"
,
0
n
,
{
name
:
null
,
fix(ext/ffi): enforce unstable check on ops (#14115)
2022-03-25 12:29:54 +01:00
parameters
:
[
]
,
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 14:06:04 +03:00
result
:
"void"
,
}
,
[
]
)
;
Copy permalink