Flutter Engine
The Flutter Engine
SkDebug_stdio.cpp
Go to the documentation of this file.
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
11
12#if !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID)
13
14#include <stdarg.h>
15#include <stdio.h>
16
17void SkDebugf(const char format[], ...) {
18 va_list args;
20#pragma GCC diagnostic push
21#pragma GCC diagnostic ignored "-Wformat-nonliteral"
22 vfprintf(stderr, format, args);
23#pragma GCC diagnostic pop
24 va_end(args);
25}
26#endif // !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID)
void SkDebugf(const char format[],...)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
uint32_t uint32_t * format
va_start(args, format)
va_end(args)