summaryrefslogtreecommitdiff
path: root/Source/WTF/wtf/unicode/UTF8.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WTF/wtf/unicode/UTF8.h')
-rw-r--r--Source/WTF/wtf/unicode/UTF8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WTF/wtf/unicode/UTF8.h b/Source/WTF/wtf/unicode/UTF8.h
index 1fc21baad..e95cc1288 100644
--- a/Source/WTF/wtf/unicode/UTF8.h
+++ b/Source/WTF/wtf/unicode/UTF8.h
@@ -34,12 +34,12 @@ namespace Unicode {
// Given a first byte, gives the length of the UTF-8 sequence it begins.
// Returns 0 for bytes that are not legal starts of UTF-8 sequences.
// Only allows sequences of up to 4 bytes, since that works for all Unicode characters (U-00000000 to U-0010FFFF).
- int UTF8SequenceLength(char);
+ WTF_EXPORT_PRIVATE int UTF8SequenceLength(char);
// Takes a null-terminated C-style string with a UTF-8 sequence in it and converts it to a character.
// Only allows Unicode characters (U-00000000 to U-0010FFFF).
// Returns -1 if the sequence is not valid (including presence of extra bytes).
- int decodeUTF8Sequence(const char*);
+ WTF_EXPORT_PRIVATE int decodeUTF8Sequence(const char*);
typedef enum {
conversionOK, // conversion successful