Chromium Code Reviews| Index: base/string_util_win.h |
| =================================================================== |
| --- base/string_util_win.h (revision 2710) |
| +++ base/string_util_win.h (working copy) |
| @@ -22,6 +22,11 @@ |
| return _strnicmp(s1, s2, count); |
| } |
| +inline int vswscanf(const wchar_t* ws, const wchar_t* format, |
| + va_list arguments) { |
| + return ::vswscanf_s(ws, format, arguments); |
|
Dean McNamee
2008/09/30 13:22:41
The problem is that the arguments could be differe
|
| +} |
| + |
| inline int vsnprintf(char* buffer, size_t size, |
| const char* format, va_list arguments) { |
| int length = vsnprintf_s(buffer, size, size - 1, format, arguments); |