summaryrefslogtreecommitdiff
path: root/include/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/function.h')
-rw-r--r--include/function.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/function.h b/include/function.h
index 89ec3fd..3cb0e2d 100644
--- a/include/function.h
+++ b/include/function.h
@@ -135,18 +135,20 @@ protected:
*/
HiddenPointer<Function> _ptr;
-private:
+protected:
/**
* Fill a function entry
* @param entry Entry to be filled
+ * @param classname Optional class name
*/
- void fill(struct _zend_function_entry *entry) const;
+ void fill(struct _zend_function_entry *entry, const char *classname=NULL) const;
/**
* Fill function info
* @param info Info object to be filled
+ * @param classname Optional class name
*/
- void fill(struct _zend_internal_function_info *info) const;
+ void fill(struct _zend_internal_function_info *info, const char *classname=NULL) const;
/**
* Extension has access to the private members