Line data Source code
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 "SkTypes.h"
9 : #if !defined(SK_BUILD_FOR_WIN32) && !defined(SK_BUILD_FOR_ANDROID)
10 :
11 : #include <stdarg.h>
12 : #include <stdio.h>
13 :
14 0 : void SkDebugf(const char format[], ...) {
15 : va_list args;
16 0 : va_start(args, format);
17 0 : vfprintf(stderr, format, args);
18 0 : va_end(args);
19 0 : }
20 : #endif//!defined(SK_BUILD_FOR_WIN32) && !defined(SK_BUILD_FOR_ANDROID)
|