blob: 230c5f2c5d42002d59297c69b9163341b52c1b0e [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001/*
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
reed@android.com9c970452009-04-03 14:26:10 +00008#include "SkTypes.h"
mtklein1ee76512015-11-02 10:20:27 -08009#if !defined(SK_BUILD_FOR_WIN32) && !defined(SK_BUILD_FOR_ANDROID)
reed@android.com9c970452009-04-03 14:26:10 +000010
reed@android.com9c970452009-04-03 14:26:10 +000011#include <stdarg.h>
12#include <stdio.h>
13
14void SkDebugf(const char format[], ...) {
reed@android.com9c970452009-04-03 14:26:10 +000015 va_list args;
16 va_start(args, format);
bsalomon@google.comf910d3b2013-03-07 17:06:57 +000017 vfprintf(stderr, format, args);
reed@android.com9c970452009-04-03 14:26:10 +000018 va_end(args);
reed@android.com9c970452009-04-03 14:26:10 +000019}
mtklein1ee76512015-11-02 10:20:27 -080020#endif//!defined(SK_BUILD_FOR_WIN32) && !defined(SK_BUILD_FOR_ANDROID)