Skip to content

zend_alloc: Make zend_alloc.h independent of zend_types.h#21849

Draft
TimWolla wants to merge 1 commit intophp:masterfrom
TimWolla:zend-alloc-types
Draft

zend_alloc: Make zend_alloc.h independent of zend_types.h#21849
TimWolla wants to merge 1 commit intophp:masterfrom
TimWolla:zend-alloc-types

Conversation

@TimWolla
Copy link
Copy Markdown
Member

zend_types.h itself refers to emalloc() in macro definitions (which is defined in zend_alloc.h), making this effectively a circular dependency.

Since zend_alloc.h does not actually need zend_types.h, we can just remove this include from there.

`zend_types.h` itself refers to `emalloc()` in macro definitions (which is
defined in `zend_alloc.h`), making this effectively a circular dependency.

Since `zend_alloc.h` does not actually need `zend_types.h`, we can just remove
this include from there.
@TimWolla TimWolla self-assigned this Apr 23, 2026
@TimWolla TimWolla requested a review from dstogov as a code owner April 23, 2026 13:55
@TimWolla TimWolla marked this pull request as draft April 23, 2026 14:09
@TimWolla TimWolla removed their assignment Apr 23, 2026
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