diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-09-25 14:59:58 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-09-25 14:59:58 -0700 |
commit | ffdaa0590d33ea89d116f6c56df2474cc0675ec9 (patch) | |
tree | 6b0d71337879892b43a4af90e6757d53ecc77853 /src/internalfunction.h | |
parent | 753402a84b40ff4dc9697dea1d2d4aa037ea7624 (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/internalfunction.h')
-rw-r--r-- | src/internalfunction.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/internalfunction.h b/src/internalfunction.h index 741ea5b..31abcca 100644 --- a/src/internalfunction.h +++ b/src/internalfunction.h @@ -47,19 +47,10 @@ public: virtual ~InternalFunction() {} /** - * Cast to zend_internal_function pointer - * @return zend_internal_function - */ - operator zend_internal_function *() - { - return &_func; - } - - /** * Cast to zend_function pointer * @return zend_function */ - operator zend_function *() + zend_function *function() { return (zend_function *)&_func; } |