From ffdaa0590d33ea89d116f6c56df2474cc0675ec9 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Wed, 25 Sep 2013 14:59:58 -0700 Subject: {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 --- include/extension.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/extension.h') 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 &arguments = {}); -- cgit v1.2.3