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

Unified Diff: base/string_util_posix.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
Index: base/string_util_posix.h
===================================================================
--- base/string_util_posix.h (revision 2710)
+++ base/string_util_posix.h (working copy)
@@ -22,6 +22,11 @@
return ::strncasecmp(string1, string2, count);
}
+inline int vswscanf(const wchar_t* ws, const wchar_t* format,
+ va_list arguments) {
+ return ::vswscanf(ws, format, arguments);
+}
+
inline int vsnprintf(char* buffer, size_t size,
const char* format, va_list arguments) {
return ::vsnprintf(buffer, size, format, arguments);
« no previous file with comments | « base/string_util.h ('k') | base/string_util_win.h » ('j') | base/string_util_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698