com php-src: Add ZEND_ARG_CALLABLE_INFO to allow in ternal function to type hint against callable.: Zend/zend_API.h

From: Date: Fri, 24 Jan 2014 23:04:50 +0000
Subject: com php-src: Add ZEND_ARG_CALLABLE_INFO to allow in ternal function to type hint against callable.: Zend/zend_API.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85858@lists.php.net to get a copy of this message
Commit: aee6344e2469dd0d896a79ae963d4a95d52f47e1 Author: Rouven Weßling <me@rouvenwessling.de> Wed, 25 Dec 2013 17:00:32 +0100 Parents: 69af35718253b3d106074b7133f8c74322468674 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aee6344e2469dd0d896a79ae963d4a95d52f47e1 Log: Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable. Changed paths: M Zend/zend_API.h Diff: diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 84acfca..17672ff 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) \

« previous php.cvs (#85858) next »