com php-src: FAST_ZPP variant of zend_parse_paramet ers_none(), ZEND_PARSE_PARAMETERS_NONE(): Zend/zend_API.h
| From: | Kalle Sommer Nielsen | Date: | Sun, 23 Jul 2017 06:48:06 +0000 |
| Subject: | com php-src: FAST_ZPP variant of zend_parse_paramet ers_none(), ZEND_PARSE_PARAMETERS_NONE(): Zend/zend_API.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98733@lists.php.net to get a copy of this message | ||
Commit: 67be32ced9a7ec23280aaf5409a819f13ff62e90
Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 23 Jul 2017 08:48:06 +0200
Parents: ad698adddfa8c3c1c53bf2a6349d05211791e6cf
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=67be32ced9a7ec23280aaf5409a819f13ff62e90
Log:
FAST_ZPP variant of zend_parse_parameters_none(), ZEND_PARSE_PARAMETERS_NONE()
Changed paths:
M Zend/zend_API.h
Diff:
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 865f5dd..bcb520f 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -762,6 +762,10 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(zend_bool
throw_
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args) \
ZEND_PARSE_PARAMETERS_START_EX(0, min_num_args, max_num_args)
+#define ZEND_PARSE_PARAMETERS_NONE() \
+ ZEND_PARSE_PARAMETERS_START(0, 0) \
+ ZEND_PARSE_PARAMETERS_END()
+
#define ZEND_PARSE_PARAMETERS_END_EX(failure) \
} while (0); \
if (UNEXPECTED(error_code != ZPP_ERROR_OK)) { \