summaryrefslogtreecommitdiff
path: root/src/nativefunction.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 /src/nativefunction.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 'src/nativefunction.h')
-rw-r--r--src/nativefunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nativefunction.h b/src/nativefunction.h
index 88d629f..2a61ccb 100644
--- a/src/nativefunction.h
+++ b/src/nativefunction.h
@@ -21,8 +21,8 @@ class NativeFunction : public Function
public:
/**
* Constructor
- * @param name Function name
- * @param function The native C function
+ * @param name Function name
+ * @param function The native C function
*/
NativeFunction(const char *name, native_callback_0 function, const std::initializer_list<Argument> &arguments = {}) : Function(name, arguments), _type(0) { _function.f0 = function; }
NativeFunction(const char *name, native_callback_1 function, const std::initializer_list<Argument> &arguments = {}) : Function(name, arguments), _type(1) { _function.f1 = function; }