[php-src] PR #21849: zend_alloc: Make zend_alloc.h independent of zend_types.h
| From: | TimWolla | Date: | Thu, 23 Apr 2026 13:55:58 +0000 |
| Subject: | [php-src] PR #21849: zend_alloc: Make zend_alloc.h independent of zend_types.h | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35853@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21849
Author: TimWolla
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.