summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-03-08 22:53:19 +0800
committerXinchen Hui <laruence@php.net>2015-03-08 22:53:19 +0800
commitef2db26c60537e84b502608ff404263d5f4dc5d2 (patch)
tree78fdd22a886a964ad225081777318bd8c0b9bb22
parentbff84d7c18a21c5a3c531684375674fc7ffd3746 (diff)
parentaee6344e2469dd0d896a79ae963d4a95d52f47e1 (diff)
downloadphp-git-ef2db26c60537e84b502608ff404263d5f4dc5d2.tar.gz
Merge branch 'arginfo' of https://github.com/realityking/php-src into PHP-5.4
-rw-r--r--Zend/zend_API.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 84acfcac88..17672ffc99 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -101,6 +101,7 @@ typedef struct _zend_fcall_info_cache {
#define ZEND_ARG_INFO(pass_by_ref, name) { #name, sizeof(#name)-1, NULL, 0, 0, 0, pass_by_ref},
#define ZEND_ARG_PASS_INFO(pass_by_ref) { NULL, 0, NULL, 0, 0, 0, pass_by_ref},
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, sizeof(#name)-1, #classname, sizeof(#classname)-1, IS_OBJECT, allow_null, pass_by_ref},
+#define ZEND_ARG_CALLABLE_INFO(pass_by_ref, name, allow_null) { #name, sizeof(#name)-1, NULL, 0, IS_CALLABLE, allow_null, pass_by_ref },
#define ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null) { #name, sizeof(#name)-1, NULL, 0, IS_ARRAY, allow_null, pass_by_ref},
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, sizeof(#name)-1, NULL, 0, type_hint, allow_null, pass_by_ref},
#define ZEND_BEGIN_ARG_INFO_EX(name, pass_rest_by_reference, return_reference, required_num_args) \