summaryrefslogtreecommitdiff
path: root/ext/bcmath/php3_bcmath.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>1999-07-26 20:09:08 +0000
committerAndrey Hristov <andrey@php.net>1999-07-26 20:09:08 +0000
commit1b2c932cc2848da25b38a4e73aa74541a9761beb (patch)
tree19c46f9a829a34237c2411cdce3a3c4ca2f4fde1 /ext/bcmath/php3_bcmath.h
parent7af5579e3f40ccda2e5b5bf47ff3b2a71327317f (diff)
downloadphp-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/bcmath/php3_bcmath.h')
-rw-r--r--ext/bcmath/php3_bcmath.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/bcmath/php3_bcmath.h b/ext/bcmath/php3_bcmath.h
index 062d7fe8fd..a6007e60d1 100644
--- a/ext/bcmath/php3_bcmath.h
+++ b/ext/bcmath/php3_bcmath.h
@@ -43,17 +43,17 @@
extern php3_module_entry bcmath_module_entry;
#define phpext_bcmath_ptr &bcmath_module_entry
-extern int php3_rinit_bcmath(INIT_FUNC_ARGS);
-extern int php3_rend_bcmath(SHUTDOWN_FUNC_ARGS);
-PHP_FUNCTION(bcmath_add);
-PHP_FUNCTION(bcmath_sub);
-PHP_FUNCTION(bcmath_mul);
-PHP_FUNCTION(bcmath_div);
-PHP_FUNCTION(bcmath_mod);
-PHP_FUNCTION(bcmath_pow);
-PHP_FUNCTION(bcmath_sqrt);
-PHP_FUNCTION(bcmath_comp);
-PHP_FUNCTION(bcmath_set_scale);
+extern PHP_RINIT_FUNCTION(bcmath);
+extern PHP_RSHUTDOWN_FUNCTION(bcmath);
+PHP_FUNCTION(bcadd);
+PHP_FUNCTION(bcsub);
+PHP_FUNCTION(bcmul);
+PHP_FUNCTION(bcdiv);
+PHP_FUNCTION(bcmod);
+PHP_FUNCTION(bcpow);
+PHP_FUNCTION(bcsqrt);
+PHP_FUNCTION(bccomp);
+PHP_FUNCTION(bcscale);
#else