Flutter Engine
The Flutter Engine
third_party
skia
src
ports
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
8
#include "
include/private/base/SkDebug.h
"
9
#include "
include/private/base/SkFeatures.h
"
10
#include "
include/private/base/SkLoadUserConfig.h
"
11
12
#if !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID)
13
14
#include <stdarg.h>
15
#include <
stdio.h
>
16
17
void
SkDebugf
(
const
char
format
[], ...) {
18
va_list
args
;
19
va_start
(
args
,
format
);
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)
SkDebug.h
SkDebugf
void SkDebugf(const char format[],...)
Definition:
SkDebug_stdio.cpp:17
SkFeatures.h
SkLoadUserConfig.h
args
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
Definition:
fl_event_channel.h:89
format
uint32_t uint32_t * format
Definition:
fl_texture_registrar_test.cc:41
dart::bin::va_start
va_start(args, format)
dart::bin::va_end
va_end(args)
stdio.h
Generated on Sun Jun 23 2024 21:56:31 for Flutter Engine by
1.9.4