Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
peacalm committed Jun 29, 2023
1 parent 9ae7e2a commit 0305701
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 @@ -1190,6 +1190,8 @@ int main {
l.set("fadd", &fadd);
auto& ref = fadd;
l.set("fadd", ref);

assert(l.eval<int>("return fadd(1, 2)"), 3);
}
```
Expand Down

0 comments on commit 0305701

Please sign in to comment.