summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2015-08-10 08:53:49 +0200
committerMartijn Otto <martijn.otto@copernica.com>2015-08-10 08:53:49 +0200
commit66063dba8280f2e0a1d1591b804467bf712f99c6 (patch)
tree8d669f1aff42d9c74eaed8739be437dd96770b03 /README.md
parent8aa6e9bbb497d494dbcf86203acaf136da2a50c8 (diff)
parent6d4d44249dc12cad3a179dd7277e1072c7a5b958 (diff)
Merge pull request #212 from RicoAntonioFelix/master
Minor fixes
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index ec6254e..2fdcdc4 100644
--- a/README.md
+++ b/README.md
@@ -56,8 +56,8 @@ The method call to export the above C++ function:
```c
extension.add("my_plus", my_plus, {
- Php::ByVal("a", Php::numericType),
- Php::ByVal("b", Php::numericType)
+ Php::ByVal("a", Php::numericType),
+ Php::ByVal("b", Php::numericType)
});
```
@@ -71,7 +71,7 @@ features from the C++11 language. It does not matter if your functions accept st
integers, booleans or other native parameters: PHP-CPP takes care of the conversion.
The return value of your function is also transformed by PHP-CPP into PHP.
-More complicated structured can be handled by PHP-CPP as well. If you would like to return
+More complicated structures can be handled by PHP-CPP as well. If you would like to return
a nested associative array from your function, you can do so too:
```c