com php-src: renamed _z_param_long: Zend/zend_API .h

From: Date: Mon, 18 Aug 2014 08:35:46 +0000
Subject: com php-src: renamed _z_param_long: Zend/zend_API .h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-80808@lists.php.net to get a copy of this message
Commit: 59ec8329f443b0a912e0740da709b712c6392711 Author: Anatol Belski <ab@php.net> Mon, 18 Aug 2014 10:35:46 +0200 Parents: 483a800c988586b155bc262098adf0e88177a133 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=59ec8329f443b0a912e0740da709b712c6392711 Log: renamed _z_param_long Changed paths: M Zend/zend_API.h Diff: diff --git a/Zend/zend_API.h b/Zend/zend_API.h index ec23dde..3768e30 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -900,7 +900,7 @@ ZEND_API int _z_param_class(zval *arg, zend_class_entry **pce, int num, int chec /* old "l" */ #define Z_PARAM_INT_EX(dest, is_null, check_null, separate) \ Z_PARAM_PROLOGUE(separate); \ - if (UNEXPECTED(!_z_param_long(_arg, &dest, &is_null, check_null, 0))) { \ + if (UNEXPECTED(!_z_param_int(_arg, &dest, &is_null, check_null, 0))) { \ _expected_type = Z_EXPECTED_LONG; \ error_code = ZPP_ERROR_WRONG_ARG; \ break; \ @@ -912,7 +912,7 @@ ZEND_API int _z_param_class(zval *arg, zend_class_entry **pce, int num, int chec /* old "L" */ #define Z_PARAM_STRICT_INT_EX(dest, is_null, check_null, separate) \ Z_PARAM_PROLOGUE(separate); \ - if (UNEXPECTED(!_z_param_long(_arg, &dest, &is_null, check_null, 1))) { \ + if (UNEXPECTED(!_z_param_int(_arg, &dest, &is_null, check_null, 1))) { \ _expected_type = Z_EXPECTED_LONG; \ error_code = ZPP_ERROR_WRONG_ARG; \ break; \ @@ -1072,7 +1072,7 @@ static zend_always_inline int _z_param_bool(zval *arg, zend_bool *dest, zend_boo return 1; } -static zend_always_inline int _z_param_long(zval *arg, zend_int_t *dest, zend_bool *is_null, int check_null, int strict) +static zend_always_inline int _z_param_int(zval *arg, zend_int_t *dest, zend_bool *is_null, int check_null, int strict) { if (check_null) { *is_null = 0;

« previous php.cvs (#80808) next »