diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-06 18:57:41 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-06 19:05:57 +0200 |
commit | 0280b83e1179b3901f4c34c777c6232c5a3f99b8 (patch) | |
tree | f6173d916b9b74eab83f7f7d3bdfe6877cf11fce /Zend/zend_API.h | |
parent | 4a0d6901bb00154e40237143a754234a266d2774 (diff) | |
download | php-git-0280b83e1179b3901f4c34c777c6232c5a3f99b8.tar.gz |
Avoid some unnecessary uses of no_separation=0
For the rare cases where references are part of the API,
construct them explicitly. Otherwise do not allow separation.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r-- | Zend/zend_API.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 578cf629f8..1adfbacb05 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -500,9 +500,9 @@ ZEND_API int add_property_zval_ex(zval *arg, const char *key, size_t key_len, zv ZEND_API int _call_user_function_ex(zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation); -#define call_user_function(function_table, object, function_name, retval_ptr, param_count, params) \ +#define call_user_function(_unused, object, function_name, retval_ptr, param_count, params) \ _call_user_function_ex(object, function_name, retval_ptr, param_count, params, 1) -#define call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, params, no_separation, symbol_table) \ +#define call_user_function_ex(_unused, object, function_name, retval_ptr, param_count, params, no_separation, _unused2) \ _call_user_function_ex(object, function_name, retval_ptr, param_count, params, no_separation) ZEND_API extern const zend_fcall_info empty_fcall_info; |