mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Removed unused REGISTER_PDO_CONST_LONG
This commit is contained in:
parent
371db55871
commit
b32458f0c9
1 changed files with 0 additions and 6 deletions
|
@ -61,12 +61,6 @@ ZEND_END_MODULE_GLOBALS(pdo)
|
|||
#define REGISTER_PDO_CLASS_CONST_LONG(const_name, value) \
|
||||
zend_declare_class_constant_long(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, (zend_long)value);
|
||||
|
||||
#define REGISTER_PDO_CONST_LONG(const_name, value) { \
|
||||
zend_class_entry **pce; \
|
||||
if (zend_hash_find(CG(class_table), "pdo", sizeof("pdo"), (void **) &pce) != FAILURE) \
|
||||
zend_declare_class_constant_long(*pce, const_name, sizeof(const_name)-1, (zend_long)value); \
|
||||
} \
|
||||
|
||||
#define REGISTER_PDO_CLASS_CONST_STRING(const_name, value) \
|
||||
zend_declare_class_constant_stringl(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, value, sizeof(value)-1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue