Flutter Engine
The Flutter Engine
third_party
skia
include
private
base
SkDebug.h
Go to the documentation of this file.
1
/*
2
* Copyright 2022 Google LLC
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
#ifndef SkDebug_DEFINED
9
#define SkDebug_DEFINED
10
11
#include "
include/private/base/SkAPI.h
"
12
#include "
include/private/base/SkAttributes.h
"
13
#include "
include/private/base/SkLoadUserConfig.h
"
// IWYU pragma: keep
14
15
#if !defined(SkDebugf)
16
void
SK_SPI
SkDebugf
(
const
char
format
[], ...)
SK_PRINTF_LIKE
(1, 2);
17
#endif
18
19
#if defined(SK_DEBUG)
20
#define SkDEBUGCODE(...) __VA_ARGS__
21
#define SkDEBUGF(...) SkDebugf(__VA_ARGS__)
22
#else
23
#define SkDEBUGCODE(...)
24
#define SkDEBUGF(...)
25
#endif
26
27
#endif
SkAPI.h
SK_SPI
#define SK_SPI
Definition:
SkAPI.h:41
SkAttributes.h
SK_PRINTF_LIKE
#define SK_PRINTF_LIKE(A, B)
Definition:
SkAttributes.h:52
SkDebugf
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
SkLoadUserConfig.h
format
uint32_t uint32_t * format
Definition:
fl_texture_registrar_test.cc:41
Generated on Sun Jun 23 2024 21:56:03 for Flutter Engine by
1.9.4