[php-src] master: Remove FR/FX macros

From: Date: Wed, 28 Apr 2021 10:13:11 +0000
Subject: [php-src] master: Remove FR/FX macros
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115932@lists.php.net to get a copy of this message
Author: Nikita Popov (nikic) Date: 2021-04-28T12:13:01+02:00 Commit: https://github.com/php/php-src/commit/97c6d6605e32d0ee16c9c3af172a21d4977e8b06 Raw diff: https://github.com/php/php-src/commit/97c6d6605e32d0ee16c9c3af172a21d4977e8b06.diff Remove FR/FX macros Functions returning by-reference are generally a lost cause, we won't be able to provide useful information for them. Changed paths: M Zend/Optimizer/zend_func_info.c Diff: diff --git a/Zend/Optimizer/zend_func_info.c b/Zend/Optimizer/zend_func_info.c index 786cc7320142..f2bb1e97a78b 100644 --- a/Zend/Optimizer/zend_func_info.c +++ b/Zend/Optimizer/zend_func_info.c @@ -44,10 +44,6 @@ typedef struct _func_info_t { {name, sizeof(name)-1, (MAY_BE_RC1 | (info)), NULL} #define FN(name, info) \ {name, sizeof(name)-1, (MAY_BE_RC1 | MAY_BE_RCN | (info)), NULL} -#define FR(name, info) \ - {name, sizeof(name)-1, (MAY_BE_REF | (info)), NULL} -#define FX(name, info) \ - {name, sizeof(name)-1, (MAY_BE_RC1 | MAY_BE_RCN | MAY_BE_REF | (info)), NULL} #define FC(name, callback) \ {name, sizeof(name)-1, 0, callback}

« previous php.cvs (#115932) next »