diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-14 07:42:37 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-14 07:42:37 -0700 |
commit | b2042dbd58c043ab49e9b0dbb51bf8516fe8cea8 (patch) | |
tree | 25c7806d4c9d5fb237c0995b4bd12c4664bf853a /include/function.h | |
parent | 53272534a76a9d8cbee4ee887e1f360c4a99728b (diff) |
Initial attempt to register native C++ class methods directly to PHP
Diffstat (limited to 'include/function.h')
-rw-r--r-- | include/function.h | 8 |
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 |