diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-20 14:56:48 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-20 14:57:10 +0200 |
commit | 7fd4212cc0cda2dc28354e66aa072129d6ea80e9 (patch) | |
tree | 0cac8e331cc76db7a9e1ddc680168912809c0f9a /Zend/zend_API.h | |
parent | 05e9197c517baf740cf8228da3c123ca21cc8e4d (diff) | |
download | php-git-7fd4212cc0cda2dc28354e66aa072129d6ea80e9.tar.gz |
Add common code for magic method assignment
This was repeated three times.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r-- | Zend/zend_API.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 67a3fa9d16..0eb4bffa39 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -320,6 +320,7 @@ ZEND_API void zend_collect_module_handlers(void); ZEND_API void zend_destroy_modules(void); ZEND_API void zend_check_magic_method_implementation( const zend_class_entry *ce, const zend_function *fptr, zend_string *lcname, int error_type); +ZEND_API void zend_add_magic_method(zend_class_entry *ce, zend_function *fptr, zend_string *lcname); ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry); ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); |