Skip to content

Commit 26cbf1e

Browse files
Merge pull request #453 from DamavandiKamali/master
The function call was deprecated
2 parents 444d1f9 + 473c1b5 commit 26cbf1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Php::Value my_plus(Php::Parameters &params)
6363
The method call to export the above C++ function:
6464
6565
```c
66-
extension.add("my_plus", my_plus, {
66+
extension.add<my_plus>("my_plus", {
6767
Php::ByVal("a", Php::numericType),
6868
Php::ByVal("b", Php::numericType)
6969
});

0 commit comments

Comments
 (0)