Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2628)

Unified Diff: base/string_util_win.h

Issue 6003: Portable swscanf.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/string_util_posix.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « base/string_util_posix.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698