1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00

Style cleanup, as well as fixing bug with missing argument for WRONG_PARAM_COUNT_WITH_RETVAL

This commit is contained in:
Anthony Ferrara
2015-03-18 15:45:16 -04:00
parent 8be4266f6a
commit 579e7fa457
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -157,6 +157,7 @@ ZEND_API void zend_wrong_param_count(void) /* {{{ */
zend_wrong_param_count_ex(0);
}
}
/* }}} */
ZEND_API void zend_wrong_param_count_ex(zend_bool strict) /* {{{ */
{
+2 -2
View File
@@ -356,10 +356,10 @@ ZEND_API char *zend_get_type_by_const(int type);
#define ZEND_IS_METHOD_CALL() (EX(func)->common.scope != NULL)
#define WRONG_PARAM_COUNT ZEND_WRONG_PARAM_COUNT()
#define WRONG_PARAM_COUNT_WITH_RETVAL(ret) ZEND_WRONG_PARAM_COUNT_WITH_RETVAL()
#define WRONG_PARAM_COUNT_WITH_RETVAL(ret) ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret)
#define ARG_COUNT(dummy) EX_NUM_ARGS()
#define ZEND_NUM_ARGS() EX_NUM_ARGS()
#define ZEND_WRONG_PARAM_COUNT() { zend_wrong_param_count(); return; }
#define ZEND_WRONG_PARAM_COUNT() { zend_wrong_param_count(); return; }
#define ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret) { zend_wrong_param_count(); return ret; }
#ifndef ZEND_WIN32