From 1b2c932cc2848da25b38a4e73aa74541a9761beb Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Mon, 26 Jul 1999 20:09:08 +0000 Subject: More symbol work. I've defined a few macros to help with module/request init/startup function definitions. Basically: PHP_MINIT_FUNCTION(module) PHP_MSHUTDOWN_FUNCTION(module) PHP_RINIT_FUNCTION(module) PHP_RSHUTDOWN_FUNCTION(module) PHP_MINFO_FUNCTION(module) These will expand to proper function prototypes. Now to specify these in the module entry, use: PHP_MINIT(module) PHP_MSHUTDOWN(module) PHP_RINIT(module) PHP_RSHUTDOWN(module) PHP_MINFO(module) I've updated all modules in ext/standard and everything from ext/apache to ext/db. If you can, please update your module to use these macros. --- ext/aspell/php3_aspell.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'ext/aspell/php3_aspell.h') diff --git a/ext/aspell/php3_aspell.h b/ext/aspell/php3_aspell.h index e38907c03e..d0c8b35a82 100644 --- a/ext/aspell/php3_aspell.h +++ b/ext/aspell/php3_aspell.h @@ -36,13 +36,14 @@ extern php3_module_entry aspell_module_entry; #define aspell_module_ptr &aspell_module_entry -extern int php3_minit_aspell(INIT_FUNC_ARGS); -extern void php3_info_aspell(ZEND_MODULE_INFO_FUNC_ARGS); +extern PHP_MINIT_FUNCTION(aspell); +extern PHP_MINFO_FUNCTION(aspell); extern void php3_aspell_close(); -void php3_aspell_new(INTERNAL_FUNCTION_PARAMETERS); -void php3_aspell_check(INTERNAL_FUNCTION_PARAMETERS); -void php3_aspell_check_raw(INTERNAL_FUNCTION_PARAMETERS); -void php3_aspell_suggest(INTERNAL_FUNCTION_PARAMETERS); + +PHP_FUNCTION(aspell_new); +PHP_FUNCTION(aspell_check); +PHP_FUNCTION(aspell_check_raw); +PHP_FUNCTION(aspell_suggest); #else #define aspell_module_ptr NULL -- cgit v1.2.1