summaryrefslogtreecommitdiff
path: root/src/internalfunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internalfunction.h')
-rw-r--r--src/internalfunction.h11
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;
}