cvs: php3 /functions math.c
| From: | Frank M. Kromann | Date: | Tue, 19 Sep 2000 18:50:53 +0000 |
| Subject: | cvs: php3 /functions math.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1798@lists.php.net to get a copy of this message | ||
fmk Tue Sep 19 11:50:53 2000 EDT
Modified files:
/php3/functions math.c
Log:
Adding PHPAPI to _php3_number_format() allowing it to be called from a dll/so
Index: php3/functions/math.c
diff -u php3/functions/math.c:1.54 php3/functions/math.c:1.55
--- php3/functions/math.c:1.54 Tue Aug 1 08:09:48 2000
+++ php3/functions/math.c Tue Sep 19 11:50:52 2000
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: math.c,v 1.54 2000/08/01 15:09:48 hholzgra Exp $ */
+/* $Id: math.c,v 1.55 2000/09/19 18:50:52 fmk Exp $ */
#include "php.h"
#include "internal_functions.h"
#include "phpmath.h"
@@ -40,7 +40,7 @@
#define M_PI 3.14159265358979323846
#endif
-char *_php3_number_format(double, int, char ,char);
+PHPAPI char *_php3_number_format(double, int, char ,char);
/* {{{ proto int abs(int number)
Return the absolute value of the number */
@@ -601,7 +601,7 @@
} /* }}} */
-char *_php3_number_format(double d,int dec,char dec_point,char thousand_sep)
+PHPAPI char *_php3_number_format(double d,int dec,char dec_point,char thousand_sep)
{
char *tmpbuf,*resbuf;
char *s,*t; /* source, target */