Title: [124320] trunk/Source/WTF
Revision
124320
Author
[email protected]
Date
2012-08-01 03:07:55 -0700 (Wed, 01 Aug 2012)

Log Message

[WIN] Add missing WTF export macros to functions
https://bugs.webkit.org/show_bug.cgi?id=92842

Reviewed by Hajime Morita.

When we switch the windows port to USE(EXPORT_MACROS) we
need to export all functions referenced by WebKit.dll.

* wtf/ThreadingPrimitives.h:
(WTF):
* wtf/dtoa.h:
(WTF):
* wtf/dtoa/double-conversion.h:
(StringToDoubleConverter):
* wtf/unicode/UTF8.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (124319 => 124320)


--- trunk/Source/WTF/ChangeLog	2012-08-01 09:33:44 UTC (rev 124319)
+++ trunk/Source/WTF/ChangeLog	2012-08-01 10:07:55 UTC (rev 124320)
@@ -1,3 +1,21 @@
+2012-08-01  Patrick Gansterer  <[email protected]>
+
+        [WIN] Add missing WTF export macros to functions
+        https://bugs.webkit.org/show_bug.cgi?id=92842
+
+        Reviewed by Hajime Morita.
+
+        When we switch the windows port to USE(EXPORT_MACROS) we
+        need to export all functions referenced by WebKit.dll.
+
+        * wtf/ThreadingPrimitives.h:
+        (WTF):
+        * wtf/dtoa.h:
+        (WTF):
+        * wtf/dtoa/double-conversion.h:
+        (StringToDoubleConverter):
+        * wtf/unicode/UTF8.h:
+
 2012-07-31  Sam Weinig  <[email protected]>
 
         Stop masking 8 bits off of the visited link hash. We need all the bits!

Modified: trunk/Source/WTF/wtf/ThreadingPrimitives.h (124319 => 124320)


--- trunk/Source/WTF/wtf/ThreadingPrimitives.h	2012-08-01 09:33:44 UTC (rev 124319)
+++ trunk/Source/WTF/wtf/ThreadingPrimitives.h	2012-08-01 10:07:55 UTC (rev 124320)
@@ -152,7 +152,7 @@
 #if OS(WINDOWS)
 // The absoluteTime is in seconds, starting on January 1, 1970. The time is assumed to use the same time zone as WTF::currentTime().
 // Returns an interval in milliseconds suitable for passing to one of the Win32 wait functions (e.g., ::WaitForSingleObject).
-DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime);
+WTF_EXPORT_PRIVATE DWORD absoluteTimeToWaitTimeoutInterval(double absoluteTime);
 #endif
 
 } // namespace WTF

Modified: trunk/Source/WTF/wtf/dtoa/double-conversion.h (124319 => 124320)


--- trunk/Source/WTF/wtf/dtoa/double-conversion.h	2012-08-01 09:33:44 UTC (rev 124319)
+++ trunk/Source/WTF/wtf/dtoa/double-conversion.h	2012-08-01 10:07:55 UTC (rev 124320)
@@ -364,7 +364,7 @@
         // Performs the conversion.
         // The output parameter 'processed_characters_count' is set to the number
         // of characters that have been processed to read the number.
-        static double StringToDouble(const char* buffer, size_t length, size_t* processed_characters_count);
+        WTF_EXPORT_PRIVATE static double StringToDouble(const char* buffer, size_t length, size_t* processed_characters_count);
         
     private:
         DISALLOW_IMPLICIT_CONSTRUCTORS(StringToDoubleConverter);

Modified: trunk/Source/WTF/wtf/dtoa.h (124319 => 124320)


--- trunk/Source/WTF/wtf/dtoa.h	2012-08-01 09:33:44 UTC (rev 124319)
+++ trunk/Source/WTF/wtf/dtoa.h	2012-08-01 10:07:55 UTC (rev 124320)
@@ -43,8 +43,8 @@
 typedef UChar NumberToUStringBuffer[NumberToStringBufferLength];
 
 WTF_EXPORT_PRIVATE const char* numberToString(double, NumberToStringBuffer);
-const char* numberToFixedPrecisionString(double, unsigned significantFigures, NumberToStringBuffer, bool truncateTrailingZeros = false);
-const char* numberToFixedWidthString(double, unsigned decimalPlaces, NumberToStringBuffer);
+WTF_EXPORT_PRIVATE const char* numberToFixedPrecisionString(double, unsigned significantFigures, NumberToStringBuffer, bool truncateTrailingZeros = false);
+WTF_EXPORT_PRIVATE 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);

Modified: trunk/Source/WTF/wtf/unicode/UTF8.h (124319 => 124320)


--- trunk/Source/WTF/wtf/unicode/UTF8.h	2012-08-01 09:33:44 UTC (rev 124319)
+++ trunk/Source/WTF/wtf/unicode/UTF8.h	2012-08-01 10:07:55 UTC (rev 124320)
@@ -66,7 +66,7 @@
                     const char** sourceStart, const char* sourceEnd, 
                     UChar** targetStart, UChar* targetEnd, bool strict = true);
 
-    ConversionResult convertLatin1ToUTF8(
+    WTF_EXPORT_PRIVATE ConversionResult convertLatin1ToUTF8(
                     const LChar** sourceStart, const LChar* sourceEnd, 
                     char** targetStart, char* targetEnd);
 
@@ -74,9 +74,9 @@
                     const UChar** sourceStart, const UChar* sourceEnd, 
                     char** targetStart, char* targetEnd, bool strict = true);
 
-    unsigned calculateStringHashAndLengthFromUTF8MaskingTop8Bits(const char* data, const char* dataEnd, unsigned& dataLength, unsigned& utf16Length);
+    WTF_EXPORT_PRIVATE unsigned calculateStringHashAndLengthFromUTF8MaskingTop8Bits(const char* data, const char* dataEnd, unsigned& dataLength, unsigned& utf16Length);
 
-    bool equalUTF16WithUTF8(const UChar* a, const UChar* aEnd, const char* b, const char* bEnd);
+    WTF_EXPORT_PRIVATE bool equalUTF16WithUTF8(const UChar* a, const UChar* aEnd, const char* b, const char* bEnd);
 
 } // namespace Unicode
 } // namespace WTF
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to