[php-src] PR #15689: Add comments about internal headers

From: Date: Sun, 01 Sep 2024 11:28:21 +0000
Subject: [php-src] PR #15689: Add comments about internal headers
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28329@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15689 Author: cmb69 A common convention is to name internal C header files as *_int.h. Since a couple of these are actually installed, we add comments that this is not supposed to happen, (a) to avoid installing further internal headers, and (b) to pave the way to fix this in the next major PHP version. Somewhat special is php_gmp_int.h, where "int" is meant as abbreviation for "interface". Another common convention is appending _priv or _private, but since there have not been any issues regarding these headers so far, we refrain from adding respective comments to these headers. Anyhow, it might be a good idea to introduce some common naming convention for such internal/private headers. --- See also #15688.

« previous php.git-pulls (#28329) next »