mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Introduce ZEND_ME() and ZEND_METHOD() macros. Use these for declaring
class methods to avoid name collisions.
This commit is contained in:
parent
da4cf6f9d8
commit
81482833b5
2 changed files with 4 additions and 0 deletions
|
@ -305,11 +305,13 @@ PHPAPI int cfg_get_string(char *varname, char **result);
|
|||
#define PHP_FN ZEND_FN
|
||||
#define PHP_NAMED_FUNCTION ZEND_NAMED_FUNCTION
|
||||
#define PHP_FUNCTION ZEND_FUNCTION
|
||||
#define PHP_METHOD ZEND_METHOD
|
||||
|
||||
#define PHP_NAMED_FE ZEND_NAMED_FE
|
||||
#define PHP_FE ZEND_FE
|
||||
#define PHP_FALIAS ZEND_FALIAS
|
||||
#define PHP_STATIC_FE ZEND_STATIC_FE
|
||||
#define PHP_ME ZEND_ME
|
||||
|
||||
#define PHP_MODULE_STARTUP_N ZEND_MODULE_STARTUP_N
|
||||
#define PHP_MODULE_SHUTDOWN_N ZEND_MODULE_SHUTDOWN_N
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue