mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Replace zend_bool uses with bool
We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
This commit is contained in:
parent
e2c8ab7c33
commit
3e01f5afb1
368 changed files with 2001 additions and 2001 deletions
|
@ -212,7 +212,7 @@ mysqlnd_fill_stats_hash(const MYSQLND_STATS * const stats, const MYSQLND_STRING
|
|||
|
||||
/* {{{ mysqlnd_stats_init */
|
||||
PHPAPI void
|
||||
mysqlnd_stats_init(MYSQLND_STATS ** stats, const size_t statistic_count, const zend_bool persistent)
|
||||
mysqlnd_stats_init(MYSQLND_STATS ** stats, const size_t statistic_count, const bool persistent)
|
||||
{
|
||||
*stats = pecalloc(1, sizeof(MYSQLND_STATS), persistent);
|
||||
(*stats)->values = pecalloc(statistic_count, sizeof(uint64_t), persistent);
|
||||
|
@ -228,7 +228,7 @@ mysqlnd_stats_init(MYSQLND_STATS ** stats, const size_t statistic_count, const z
|
|||
|
||||
/* {{{ mysqlnd_stats_end */
|
||||
PHPAPI void
|
||||
mysqlnd_stats_end(MYSQLND_STATS * stats, const zend_bool persistent)
|
||||
mysqlnd_stats_end(MYSQLND_STATS * stats, const bool persistent)
|
||||
{
|
||||
#ifdef ZTS
|
||||
tsrm_mutex_free(stats->LOCK_access);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue