[php-src] PR #15736: Generated arginfo header files: combine preprocessor conditional blocks
| From: | DanielEScherzer | Date: | Tue, 03 Sep 2024 23:14:34 +0000 |
| Subject: | [php-src] PR #15736: Generated arginfo header files: combine preprocessor conditional blocks | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28386@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15736
Author: DanielEScherzer
When functions' or class methods' availability is based on some preprocessor condition,
the generated arginfo header files wrap the declarations in the preprocessor
#if
conditional blocks, one per declaration, even if they are in the same conditional block based on
comments in the stub file. Instead of having multiple conditional blocks one after the other with
the same condition, combine them into a single conditional block.