diff options
Diffstat (limited to 'JavaScriptCore/wtf/text/WTFString.h')
-rw-r--r-- | JavaScriptCore/wtf/text/WTFString.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/JavaScriptCore/wtf/text/WTFString.h b/JavaScriptCore/wtf/text/WTFString.h index fafef12..8a6bab6 100644 --- a/JavaScriptCore/wtf/text/WTFString.h +++ b/JavaScriptCore/wtf/text/WTFString.h @@ -52,6 +52,10 @@ class BString; namespace WTF { +// Size = 80 for sizeof(DtoaBuffer) + some sign bits, decimal point, 'e', exponent digits. +typedef UChar NumberToStringBuffer[96]; +unsigned numberToString(double, NumberToStringBuffer&); + class CString; // Declarations of string operations @@ -453,4 +457,7 @@ using WTF::charactersToInt; using WTF::charactersToFloat; using WTF::charactersToDouble; +using WTF::NumberToStringBuffer; +using WTF::numberToString; + #endif |