| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef BASE_STRING_UTIL_POSIX_H_ | 5 #ifndef BASE_STRING_UTIL_POSIX_H_ |
| 6 #define BASE_STRING_UTIL_POSIX_H_ | 6 #define BASE_STRING_UTIL_POSIX_H_ |
| 7 | 7 |
| 8 #include <stdarg.h> | 8 #include <stdarg.h> |
| 9 #include <stdio.h> | 9 #include <stdio.h> |
| 10 #include <string.h> | 10 #include <string.h> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 inline int vswprintf(wchar_t* buffer, size_t size, | 30 inline int vswprintf(wchar_t* buffer, size_t size, |
| 31 const wchar_t* format, va_list arguments) { | 31 const wchar_t* format, va_list arguments) { |
| 32 DCHECK(IsWprintfFormatPortable(format)); | 32 DCHECK(IsWprintfFormatPortable(format)); |
| 33 return ::vswprintf(buffer, size, format, arguments); | 33 return ::vswprintf(buffer, size, format, arguments); |
| 34 } | 34 } |
| 35 | 35 |
| 36 } // namespace base | 36 } // namespace base |
| 37 | 37 |
| 38 #endif // BASE_STRING_UTIL_POSIX_H_ | 38 #endif // BASE_STRING_UTIL_POSIX_H_ |
| 39 | |
| OLD | NEW |