Skip to content

Commit

Permalink
Merge pull request #453 from DamavandiKamali/master
Browse files Browse the repository at this point in the history
The function call was deprecated
  • Loading branch information
EmielBruijntjes authored Sep 29, 2020
2 parents 444d1f9 + 473c1b5 commit 26cbf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Php::Value my_plus(Php::Parameters &params)
The method call to export the above C++ function:
```c
extension.add("my_plus", my_plus, {
extension.add<my_plus>("my_plus", {
Php::ByVal("a", Php::numericType),
Php::ByVal("b", Php::numericType)
});
Expand Down

0 comments on commit 26cbf1e

Please sign in to comment.