From 67be32ced9a7ec23280aaf5409a819f13ff62e90 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sun, 23 Jul 2017 08:48:06 +0200 Subject: [PATCH] FAST_ZPP variant of zend_parse_parameters_none(), ZEND_PARSE_PARAMETERS_NONE() --- Zend/zend_API.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 865f5dd291..bcb520f4b2 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)) { \ -- 2.40.0