Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1936)

Unified Diff: Source/wtf/dtoa.h

Issue 15861022: Build WTF as dll in component build (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix AutoDrainedPool ctor and ThreadSpecificThreadExit exports Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/WTFThreadData.h ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/dtoa.h
diff --git a/Source/wtf/dtoa.h b/Source/wtf/dtoa.h
index 8547c94799cac113b290ba9cc0853e1e2fca9f53..aca4631ccdbc2d90373ce02cfa2b921078f293ab 100644
--- a/Source/wtf/dtoa.h
+++ b/Source/wtf/dtoa.h
@@ -21,9 +21,10 @@
#ifndef WTF_dtoa_h
#define WTF_dtoa_h
-#include <wtf/ASCIICType.h>
-#include <wtf/dtoa/double-conversion.h>
-#include <wtf/unicode/Unicode.h>
+#include "wtf/ASCIICType.h"
+#include "wtf/dtoa/double-conversion.h"
+#include "wtf/unicode/Unicode.h"
+#include "wtf/WTFExport.h"
namespace WTF {
@@ -33,21 +34,21 @@ extern Mutex* s_dtoaP5Mutex;
typedef char DtoaBuffer[80];
-void dtoa(DtoaBuffer result, double dd, bool& sign, int& exponent, unsigned& precision);
-void dtoaRoundSF(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
-void dtoaRoundDP(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
+WTF_EXPORT void dtoa(DtoaBuffer result, double dd, bool& sign, int& exponent, unsigned& precision);
+WTF_EXPORT void dtoaRoundSF(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
+WTF_EXPORT void dtoaRoundDP(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision);
// Size = 80 for sizeof(DtoaBuffer) + some sign bits, decimal point, 'e', exponent digits.
const unsigned NumberToStringBufferLength = 96;
typedef char NumberToStringBuffer[NumberToStringBufferLength];
typedef LChar NumberToLStringBuffer[NumberToStringBufferLength];
-const char* numberToString(double, NumberToStringBuffer);
-const char* numberToFixedPrecisionString(double, unsigned significantFigures, NumberToStringBuffer, bool truncateTrailingZeros = false);
-const char* numberToFixedWidthString(double, unsigned decimalPlaces, NumberToStringBuffer);
+WTF_EXPORT const char* numberToString(double, NumberToStringBuffer);
+WTF_EXPORT const char* numberToFixedPrecisionString(double, unsigned significantFigures, NumberToStringBuffer, bool truncateTrailingZeros = false);
+WTF_EXPORT const char* numberToFixedWidthString(double, unsigned decimalPlaces, NumberToStringBuffer);
-double parseDouble(const LChar* string, size_t length, size_t& parsedLength);
-double parseDouble(const UChar* string, size_t length, size_t& parsedLength);
+WTF_EXPORT double parseDouble(const LChar* string, size_t length, size_t& parsedLength);
+WTF_EXPORT double parseDouble(const UChar* string, size_t length, size_t& parsedLength);
namespace Internal {
double parseDoubleFromLongString(const UChar* string, size_t length, size_t& parsedLength);
« no previous file with comments | « Source/wtf/WTFThreadData.h ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698