diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-12-06 09:52:51 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-12-06 09:52:51 +0000 |
| commit | 4d44a5b71dd74ea81d988f7f1e0ff8025bef5617 (patch) | |
| tree | 123e161e66e9cde068d65fcbe5066e8603878d25 /Zend/zend_strtod.h | |
| parent | a813e112d438dd3480a1f0dd2e7754ee5cbc575e (diff) | |
| download | php-git-4d44a5b71dd74ea81d988f7f1e0ff8025bef5617.tar.gz | |
MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
Diffstat (limited to 'Zend/zend_strtod.h')
| -rw-r--r-- | Zend/zend_strtod.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_strtod.h b/Zend/zend_strtod.h index c5c94a57e8..fc42991ba8 100644 --- a/Zend/zend_strtod.h +++ b/Zend/zend_strtod.h @@ -25,7 +25,11 @@ #include <zend.h> BEGIN_EXTERN_C() +ZEND_API void zend_freedtoa(char *s); +ZEND_API char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve); ZEND_API double zend_strtod(const char *s00, char **se); +ZEND_API int zend_startup_strtod(void); +ZEND_API int zend_shutdown_strtod(void); END_EXTERN_C() #endif |
