mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +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
|
@ -39,7 +39,7 @@ typedef _Bool my_bool;
|
|||
#define PDO_DBG_INF_FMT(...) do { if (dbg_skip_trace == FALSE) PDO_MYSQL_G(dbg)->m->log_va(PDO_MYSQL_G(dbg), __LINE__, __FILE__, -1, "info : ", __VA_ARGS__); } while (0)
|
||||
#define PDO_DBG_ERR_FMT(...) do { if (dbg_skip_trace == FALSE) PDO_MYSQL_G(dbg)->m->log_va(PDO_MYSQL_G(dbg), __LINE__, __FILE__, -1, "error: ", __VA_ARGS__); } while (0)
|
||||
#define PDO_DBG_ENTER(func_name) \
|
||||
zend_bool dbg_skip_trace = TRUE; \
|
||||
bool dbg_skip_trace = TRUE; \
|
||||
((void) dbg_skip_trace); \
|
||||
if (PDO_MYSQL_G(dbg)) \
|
||||
dbg_skip_trace = !PDO_MYSQL_G(dbg)->m->func_enter(PDO_MYSQL_G(dbg), __LINE__, __FILE__, func_name, strlen(func_name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue