From 8a7d1d8e17ef3c90c257f248ea1e1dc0f23e4dc3 Mon Sep 17 00:00:00 2001 From: foobar Date: Sat, 11 Aug 2001 02:46:57 +0000 Subject: [PATCH] ZEND macro-rename. --- ext/gmp/gmp.c | 12 ++++++------ ext/gmp/php_gmp.h | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index 9d6ae56270..dcb3d92368 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -88,11 +88,11 @@ function_entry gmp_functions[] = { zend_module_entry gmp_module_entry = { "gmp", gmp_functions, - ZEND_MINIT(gmp), - ZEND_MSHUTDOWN(gmp), + ZEND_MODULE_STARTUP_N(gmp), + ZEND_MODULE_SHUTDOWN_N(gmp), NULL, /* Replace with NULL if there's nothing to do at request start */ NULL, /* Replace with NULL if there's nothing to do at request end */ - ZEND_MINFO(gmp), + ZEND_MODULE_INFO_N(gmp), STANDARD_MODULE_PROPERTIES }; /* }}} */ @@ -135,7 +135,7 @@ static void gmp_efree(void *ptr, size_t size) /* {{{ ZEND_MINIT_FUNCTION */ -ZEND_MINIT_FUNCTION(gmp) +ZEND_MODULE_STARTUP_D(gmp) { le_gmp = zend_register_list_destructors_ex(_php_gmpnum_free, NULL, GMP_RESOURCE_NAME, module_number); REGISTER_LONG_CONSTANT("GMP_ROUND_ZERO", GMP_ROUND_ZERO, CONST_CS | CONST_PERSISTENT); @@ -150,7 +150,7 @@ ZEND_MINIT_FUNCTION(gmp) /* {{{ ZEND_MSHUTDOWN_FUNCTION */ -ZEND_MSHUTDOWN_FUNCTION(gmp) +ZEND_MODULE_SHUTDOWN_D(gmp) { return SUCCESS; } @@ -158,7 +158,7 @@ ZEND_MSHUTDOWN_FUNCTION(gmp) /* {{{ ZEND_MINFO_FUNCTION */ -ZEND_MINFO_FUNCTION(gmp) +ZEND_MODULE_INFO_D(gmp) { php_info_print_table_start(); php_info_print_table_header(2, "gmp support", "enabled"); diff --git a/ext/gmp/php_gmp.h b/ext/gmp/php_gmp.h index f2d7f83739..96509d116b 100644 --- a/ext/gmp/php_gmp.h +++ b/ext/gmp/php_gmp.h @@ -33,9 +33,9 @@ extern zend_module_entry gmp_module_entry; #define GMP_API #endif -ZEND_MINIT_FUNCTION(gmp); -ZEND_MSHUTDOWN_FUNCTION(gmp); -ZEND_MINFO_FUNCTION(gmp); +ZEND_MODULE_STARTUP_D(gmp); +ZEND_MODULE_SHUTDOWN_D(gmp); +ZEND_MODULE_INFO_D(gmp); ZEND_FUNCTION(gmp_init); ZEND_FUNCTION(gmp_intval); -- 2.50.1