summaryrefslogtreecommitdiff
path: root/include/extension.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-09-25 14:59:58 -0700
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-09-25 14:59:58 -0700
commitffdaa0590d33ea89d116f6c56df2474cc0675ec9 (patch)
tree6b0d71337879892b43a4af90e6757d53ecc77853 /include/extension.h
parent753402a84b40ff4dc9697dea1d2d4aa037ea7624 (diff)
{auto} PHP objects can now be implemented in C++. Constructors and destructors get called at the appropriate time, but not yet any of the other methods
Diffstat (limited to 'include/extension.h')
-rw-r--r--include/extension.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/extension.h b/include/extension.h
index 1984aa9..bf945f7 100644
--- a/include/extension.h
+++ b/include/extension.h
@@ -173,7 +173,7 @@ public:
* It is only possible to create functions during the initialization of
* the library, before the Extension::module() method is called.
*
- * Note that the function must have been allocated on the HEAP (using
+ * Note that the function must have been allocated on the HEAP (using
* "new") and that the object will be destructed (using "delete")
* by the extension object (you thus do not have to destruct it
* yourself!)
@@ -187,7 +187,7 @@ public:
* Add a native function directly to the extension
* @param name Name of the function
* @param function The function to add
- * @param arguments Optional argument specification
+ * @param arguments Optional argument specification
* @return Function The added function
*/
Function *add(const char *name, native_callback_0 function, const std::initializer_list<Argument> &arguments = {});