summaryrefslogtreecommitdiff
path: root/main/php3_compat.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-11 01:13:31 +0000
committerZeev Suraski <zeev@php.net>2001-08-11 01:13:31 +0000
commita2dd66257f357afadf2377992ec7e489c38e4c5c (patch)
treefd40c28d86428bd5077c5f9d2fa3be7fe2eeefc4 /main/php3_compat.h
parentf5ea49a647cb8db9817305e714e3a4d6e5f9ad9d (diff)
downloadphp-git-a2dd66257f357afadf2377992ec7e489c38e4c5c.tar.gz
Move the macro wrappers from the compatibility header to php.h
Diffstat (limited to 'main/php3_compat.h')
-rw-r--r--main/php3_compat.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/main/php3_compat.h b/main/php3_compat.h
index 477c00c9df..4093a79a90 100644
--- a/main/php3_compat.h
+++ b/main/php3_compat.h
@@ -99,26 +99,4 @@ typedef zval pval;
#define list_entry zend_rsrc_list_entry
-/* Compatibility macros */
-#define PHP_FN(name) ZEND_FN(name)
-#define PHP_NAMED_FUNCTION(name) ZEND_NAMED_FUNCTION(name)
-#define PHP_FUNCTION(name) ZEND_FUNCTION(name)
-
-#define PHP_NAMED_FE(php_name, name, arg_types) ZEND_NAMED_FE(php_name, name, arg_types)
-#define PHP_FE(name, arg_types) ZEND_FE(name, arg_types)
-#define PHP_FALIAS(name, alias, arg_types) ZEND_FALIAS(name, alias, arg_types)
-#define PHP_STATIC_FE(php_name, func_name, arg_types) ZEND_STATIC_FE(php_name, func_name, arg_types)
-
-#define PHP_MINIT(module) ZEND_MODULE_STARTUP_N(module)
-#define PHP_MSHUTDOWN(module) ZEND_MODULE_SHUTDOWN_N(module)
-#define PHP_RINIT(module) ZEND_MODULE_ACTIVATE_N(module)
-#define PHP_RSHUTDOWN(module) ZEND_MODULE_DEACTIVATE_N(module)
-#define PHP_MINFO(module) ZEND_MODULE_INFO_N(module)
-
-#define PHP_MINIT_FUNCTION(module) ZEND_MODULE_STARTUP_D(module)
-#define PHP_MSHUTDOWN_FUNCTION(module) ZEND_MODULE_SHUTDOWN_D(module)
-#define PHP_RINIT_FUNCTION(module) ZEND_MODULE_ACTIVATE_D(module)
-#define PHP_RSHUTDOWN_FUNCTION(module) ZEND_MODULE_DEACTIVATE_D(module)
-#define PHP_MINFO_FUNCTION(module) ZEND_MODULE_INFO_D(module)
-
#endif /* PHP3_COMPAT_H */