OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 George Staikos <staikos@kde.org> | 2 * Copyright (C) 2006 George Staikos <staikos@kde.org> |
3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. |
4 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 4 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 12 matching lines...) Expand all Loading... |
23 #ifndef WTF_UNICODE_H | 23 #ifndef WTF_UNICODE_H |
24 #define WTF_UNICODE_H | 24 #define WTF_UNICODE_H |
25 | 25 |
26 #include "wtf/Assertions.h" | 26 #include "wtf/Assertions.h" |
27 | 27 |
28 // Define platform neutral 8 bit character type (L is for Latin-1). | 28 // Define platform neutral 8 bit character type (L is for Latin-1). |
29 typedef unsigned char LChar; | 29 typedef unsigned char LChar; |
30 | 30 |
31 #include "wtf/unicode/icu/UnicodeIcu.h" | 31 #include "wtf/unicode/icu/UnicodeIcu.h" |
32 | 32 |
33 COMPILE_ASSERT(sizeof(UChar) == 2, UCharIsTwoBytes); | 33 static_assert(sizeof(UChar) == 2, "UChar should be two bytes"); |
34 | 34 |
35 #endif // WTF_UNICODE_H | 35 #endif // WTF_UNICODE_H |
OLD | NEW |