OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file defines utility functions for working with strings. | 5 // This file defines utility functions for working with strings. |
6 | 6 |
7 #ifndef BASE_STRING_UTIL_H_ | 7 #ifndef BASE_STRING_UTIL_H_ |
8 #define BASE_STRING_UTIL_H_ | 8 #define BASE_STRING_UTIL_H_ |
9 | 9 |
10 #include <stdarg.h> // va_list | 10 #include <stdarg.h> // va_list |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 #elif defined(WCHAR_T_IS_UTF32) | 675 #elif defined(WCHAR_T_IS_UTF32) |
676 typedef uint32 Unsigned; | 676 typedef uint32 Unsigned; |
677 #endif | 677 #endif |
678 }; | 678 }; |
679 template<> | 679 template<> |
680 struct ToUnsigned<short> { | 680 struct ToUnsigned<short> { |
681 typedef unsigned short Unsigned; | 681 typedef unsigned short Unsigned; |
682 }; | 682 }; |
683 | 683 |
684 #endif // BASE_STRING_UTIL_H_ | 684 #endif // BASE_STRING_UTIL_H_ |
OLD | NEW |