1 | /* |
2 | * Copyright 2006 The Android Open Source Project |
3 | * |
4 | * Use of this source code is governed by a BSD-style license that can be |
5 | * found in the LICENSE file. |
6 | */ |
7 | |
8 | #include "include/core/SkTypes.h" |
9 | #if !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID) |
10 | |
11 | #include <stdarg.h> |
12 | #include <stdio.h> |
13 | |
14 | void SkDebugf(const char format[], ...) { |
15 | va_list args; |
16 | va_start(args, format); |
17 | vfprintf(stderr, format, args); |
18 | va_end(args); |
19 | } |
20 | #endif//!defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID) |
21 | |