OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
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 | |
10 #include "SkTypes.h" | 8 #include "SkTypes.h" |
11 | 9 |
12 #include <stdarg.h> | 10 #include <stdarg.h> |
13 #include <stdio.h> | 11 #include <stdio.h> |
14 | 12 |
15 void SkDebugf(const char format[], ...) { | 13 void SkDebugf(const char format[], ...) { |
16 va_list args; | 14 va_list args; |
17 va_start(args, format); | 15 va_start(args, format); |
18 vfprintf(stderr, format, args); | 16 vfprintf(stderr, format, args); |
19 va_end(args); | 17 va_end(args); |
20 } | 18 } |
OLD | NEW |