mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore(ops): update docs on fast calls (#15985)
This commit is contained in:
parent
1ef96343a1
commit
4c5e73c5fd
1 changed files with 3 additions and 2 deletions
|
@ -34,8 +34,9 @@ Cases where code is optimized away:
|
|||
The macro will infer and try to auto generate V8 fast API call trait impl for
|
||||
`sync` ops with:
|
||||
|
||||
- arguments: integers / `&mut OpState`
|
||||
- return_type: integers
|
||||
- arguments: integers, bool, `&mut OpState`, `&[u8]`, &mut [u8]`,`&[u32]`,`&mut
|
||||
[u32]`
|
||||
- return_type: integers, bool
|
||||
|
||||
The `#[op(fast)]` attribute should be used to enforce fast call generation at
|
||||
compile time.
|
||||
|
|
Loading…
Reference in a new issue