Skip to content

Commit

Permalink
Add note about bytecode_func to README
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Jun 26, 2020
1 parent 2230f85 commit 658f01a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ pub fn incrf_bytecode(input: f64) -> f64 {
}
```

Note: By default the `func` macro will create a bytecode wrapper (using `bytecode_func`) for functions with more than 5 arguments.

The OCaml stubs would look like this:

```ocaml
Expand Down

0 comments on commit 658f01a

Please sign in to comment.