pollita         Wed Dec 11 11:28:18 2002 EDT

  Modified files:              
    /php4/ext/bcmath    bcmath.c php_bcmath.h 
  Log:
  Renamed bc_powmod to bcpowmod to keep it inline with existing module
  functions.  Fixed whitespace problem.
  
  
Index: php4/ext/bcmath/bcmath.c
diff -u php4/ext/bcmath/bcmath.c:1.45 php4/ext/bcmath/bcmath.c:1.46
--- php4/ext/bcmath/bcmath.c:1.45       Tue Dec 10 14:28:04 2002
+++ php4/ext/bcmath/bcmath.c    Wed Dec 11 11:28:16 2002
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: bcmath.c,v 1.45 2002/12/10 19:28:04 fmk Exp $ */
+/* $Id: bcmath.c,v 1.46 2002/12/11 16:28:16 pollita Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -42,7 +42,7 @@
        PHP_FE(bcsqrt,                                                                 
 NULL)
        PHP_FE(bcscale,                                                                
 NULL)
        PHP_FE(bccomp,                                                                 
 NULL)
-       PHP_FE(bc_powmod,                                                              
 NULL)
+       PHP_FE(bcpowmod,                                                               
+ NULL)
        {NULL, NULL, NULL}
 };
 
@@ -330,9 +330,9 @@
 }
 /* }}} */
 
-/* {{{ proto string bc_powmod(string x, string y, string mod [, int scale])
+/* {{{ proto string bcpowmod(string x, string y, string mod [, int scale])
    Returns the value of an arbitrary precision number raised to the power of another 
reduced by a modulous */
-PHP_FUNCTION(bc_powmod)
+PHP_FUNCTION(bcpowmod)
 {
        char *left, *right, *modulous;
        int left_len, right_len, modulous_len;
@@ -340,7 +340,7 @@
        int scale=bc_precision;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|l", &left, 
&left_len, &right, &right_len, &modulous, &modulous_len, &scale) == FAILURE) {
-               WRONG_PARAM_COUNT;
+               WRONG_PARAM_COUNT;
        }
 
        bc_init_num(&first TSRMLS_CC);
Index: php4/ext/bcmath/php_bcmath.h
diff -u php4/ext/bcmath/php_bcmath.h:1.13 php4/ext/bcmath/php_bcmath.h:1.14
--- php4/ext/bcmath/php_bcmath.h:1.13   Tue Dec 10 14:04:27 2002
+++ php4/ext/bcmath/php_bcmath.h        Wed Dec 11 11:28:16 2002
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_bcmath.h,v 1.13 2002/12/10 19:04:27 pollita Exp $ */
+/* $Id: php_bcmath.h,v 1.14 2002/12/11 16:28:16 pollita Exp $ */
 
 #ifndef PHP_BCMATH_H
 #define PHP_BCMATH_H
@@ -60,7 +60,7 @@
 PHP_FUNCTION(bcsqrt);
 PHP_FUNCTION(bccomp);
 PHP_FUNCTION(bcscale);
-PHP_FUNCTION(bc_powmod);
+PHP_FUNCTION(bcpowmod);
 
 #else
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to