You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ops/op2/valid_args.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,11 @@
22
22
| X | &v8::**V8**| X |**V8**||
23
23
| X | v8::Local<v8::Value>| X | any ||
24
24
| X | v8::Local<v8::**V8**>| X |**V8**||
25
-
| X | #[serde] SerdeType || any | ⚠️ May be slow. |
26
-
| X | #[serde] (Tuple, Tuple) || any | ⚠️ May be slow. |
25
+
| X | FromV8Scopeless || any | Any type that implements `deno_core::covert::FromV8Scopeless`. |
26
+
| X | #[scoped] FromV8Type || any | Any type that implements `deno_core::covert::FromV8`. ⚠️ May be slow. |
27
+
| X | #[scoped] (Tuple, Tuple) || any | Any type that implements `deno_core::covert::FromV8`. ⚠️ May be slow. |
28
+
| X | #[serde] SerdeType || any | ⚠️ May be slow. Legacy & not recommended, use `FromV8` trait and macros instead. |
29
+
| X | #[serde] (Tuple, Tuple) || any | ⚠️ May be slow. Legacy & not recommended, use `FromV8` trait and macros instead. |
27
30
|| #[anybuffer] &mut [u8]| X | ArrayBuffer, ArrayBufferView (resizable=true,false) | ⚠️ JS may modify the contents of the slice if V8 is called re-entrantly. |
28
31
|| #[anybuffer] &[u8]| X | ArrayBuffer, ArrayBufferView (resizable=true,false) | ⚠️ JS may modify the contents of the slice if V8 is called re-entrantly. |
29
32
|| #[anybuffer]*mut u8 | X | ArrayBuffer, ArrayBufferView (resizable=true,false) | ⚠️ JS may modify the contents of the slice if V8 is called re-entrantly. Because of how V8 treats empty arrays in fastcalls, they will always be passed as null. |
0 commit comments