diff options
author | George Peter Banyard <girgias@php.net> | 2020-05-20 23:46:09 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-05-22 17:13:42 +0200 |
commit | cebe750f460b8060ab21ae1e21980098f3f5b8e2 (patch) | |
tree | be8f901f7e8a62ff8e12aafea2ce8a0dcc939bac /Zend/zend_API.h | |
parent | bc3ee2eeea1a3ca3ff33263861758d6ed54f3b16 (diff) | |
download | php-git-cebe750f460b8060ab21ae1e21980098f3f5b8e2.tar.gz |
Refactor ZPP API to use uint32_t as everywhere else
Closes GH-5609
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r-- | Zend/zend_API.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 3943f691bf..44d43d46de 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -295,18 +295,18 @@ ZEND_API int zend_copy_parameters_array(int param_count, zval *argument_array); #define ZEND_PARSE_PARAMS_THROW 0 /* No longer used, zpp always uses exceptions */ #define ZEND_PARSE_PARAMS_QUIET (1<<1) -ZEND_API int zend_parse_parameters(int num_args, const char *type_spec, ...); -ZEND_API int zend_parse_parameters_ex(int flags, int num_args, const char *type_spec, ...); +ZEND_API int zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); +ZEND_API int zend_parse_parameters_ex(int flags, uint32_t num_args, const char *type_spec, ...); /* NOTE: This must have at least one value in __VA_ARGS__ for the expression to be valid */ #define zend_parse_parameters_throw(num_args, ...) \ zend_parse_parameters(num_args, __VA_ARGS__) ZEND_API const char *zend_zval_type_name(const zval *arg); ZEND_API zend_string *zend_zval_get_legacy_type(const zval *arg); -ZEND_API int zend_parse_method_parameters(int num_args, zval *this_ptr, const char *type_spec, ...); -ZEND_API int zend_parse_method_parameters_ex(int flags, int num_args, zval *this_ptr, const char *type_spec, ...); +ZEND_API int zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec, ...); +ZEND_API int zend_parse_method_parameters_ex(int flags, uint32_t num_args, zval *this_ptr, const char *type_spec, ...); -ZEND_API int zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...); +ZEND_API int zend_parse_parameter(int flags, uint32_t arg_num, zval *arg, const char *spec, ...); /* End of parameter parsing API -- andrei */ |