Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Zend/zend_types.h: move zend_result to separate header#10609

Merged
Girgias merged 1 commit into
php:masterphp/php-src:masterfrom
CM4all:split_headersCM4all/php-src:split_headersCopy head branch name to clipboard
Feb 20, 2023
Merged

Zend/zend_types.h: move zend_result to separate header#10609
Girgias merged 1 commit into
php:masterphp/php-src:masterfrom
CM4all:split_headersCM4all/php-src:split_headersCopy head branch name to clipboard

Conversation

@MaxKellermann

Copy link
Copy Markdown
Contributor

Many sources need just zend_result, and with this new header, they only need to include zend_result.h instead of zend_types.h; the latter is large and has fat dependencies, which slows down the build.

(This implements the vote "Is it allowed to split a large header to reduce dependencies?" which was accepted by a supermajority, see https://wiki.php.net/rfc/include_cleanup)

Many sources need just `zend_result`, and with this new header, they
only need to include `zend_result.h` instead of `zend_types.h`; the
latter is large and has fat dependencies, which slows down the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.