OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2010 Google Inc. | 2 * Copyright 2010 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 | 9 |
11 #include "SkTypes.h" | 10 #include "SkTypes.h" |
(...skipping 14 matching lines...) Expand all Loading... |
26 va_end(args); | 25 va_end(args); |
27 fflush(stderr); // stderr seems to be buffered on Windows. | 26 fflush(stderr); // stderr seems to be buffered on Windows. |
28 | 27 |
29 va_start(args, format); | 28 va_start(args, format); |
30 vsnprintf(buffer, kBufferSize, format, args); | 29 vsnprintf(buffer, kBufferSize, format, args); |
31 va_end(args); | 30 va_end(args); |
32 | 31 |
33 OutputDebugStringA(buffer); | 32 OutputDebugStringA(buffer); |
34 } | 33 } |
35 #endif//defined(SK_BUILD_FOR_WIN32) | 34 #endif//defined(SK_BUILD_FOR_WIN32) |
OLD | NEW |