blob: ec4e3fec77c18befc5cce34e5df64553e0723720 [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"
Mike Klein8f11d4d2018-01-24 12:42:55 -05009#if !defined(SK_BUILD_FOR_WIN) && !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}
Mike Klein8f11d4d2018-01-24 12:42:55 -050020#endif//!defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID)