diff options
author | Andrey Hristov <andrey@php.net> | 1999-07-26 20:09:08 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 1999-07-26 20:09:08 +0000 |
commit | 1b2c932cc2848da25b38a4e73aa74541a9761beb (patch) | |
tree | 19c46f9a829a34237c2411cdce3a3c4ca2f4fde1 /ext/rpc/com/php3_COM.h | |
parent | 7af5579e3f40ccda2e5b5bf47ff3b2a71327317f (diff) | |
download | php-git-1b2c932cc2848da25b38a4e73aa74541a9761beb.tar.gz |
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.
Diffstat (limited to 'ext/rpc/com/php3_COM.h')
-rw-r--r-- | ext/rpc/com/php3_COM.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/rpc/com/php3_COM.h b/ext/rpc/com/php3_COM.h index a94c711559..60b7e06e97 100644 --- a/ext/rpc/com/php3_COM.h +++ b/ext/rpc/com/php3_COM.h @@ -3,8 +3,8 @@ #if WIN32|WINNT -extern int php3_minit_COM(INIT_FUNC_ARGS); -extern int php3_mshutdown_COM(SHUTDOWN_FUNC_ARGS); +extern PHP_MINIT_FUNCTION(COM); +extern PHP_MSHUTDOWN_FUNCTION(COM); PHP_FUNCTION(COM_load); PHP_FUNCTION(COM_invoke); |