summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2017-07-23 08:48:06 +0200
committerKalle Sommer Nielsen <kalle@php.net>2017-07-23 08:48:06 +0200
commit67be32ced9a7ec23280aaf5409a819f13ff62e90 (patch)
treeb46708adc5d088376bc15dc602c3305a76849796 /Zend/zend_API.h
parentad698adddfa8c3c1c53bf2a6349d05211791e6cf (diff)
downloadphp-git-67be32ced9a7ec23280aaf5409a819f13ff62e90.tar.gz
FAST_ZPP variant of zend_parse_parameters_none(), ZEND_PARSE_PARAMETERS_NONE()
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h4
1 files changed, 4 insertions, 0 deletions
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)) { \