diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-09-22 14:36:57 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 14:36:57 +0530 |
commit | 4c5e73c5fd02f617ea0d1569b8b248c24247411d (patch) | |
tree | 9eab02cb4fb316c3e712172a745e632803f28099 | |
parent | 1ef96343a1fb243fb7e9dc96a060ac35ce87d7c2 (diff) |
chore(ops): update docs on fast calls (#15985)
-rw-r--r-- | ops/README.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ops/README.md b/ops/README.md index bd234f423..441b526ca 100644 --- a/ops/README.md +++ b/ops/README.md @@ -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. |