Flutter Engine
The Flutter Engine
third_party
skia
src
pdf
SkUUID.h
Go to the documentation of this file.
1
// Copyright 2018 Google LLC.
2
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3
#ifndef SkUUID_DEFINED
4
#define SkUUID_DEFINED
5
6
#include <cstdint>
7
#include <cstring>
8
9
struct
SkUUID
{
10
uint8_t
fData
[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
11
};
12
13
static
inline
bool
operator==
(
const
SkUUID
& u,
const
SkUUID
& v) {
14
return
0 == memcmp(u.
fData
, v.
fData
,
sizeof
(u.
fData
));
15
}
16
static
inline
bool
operator!=
(
const
SkUUID
& u,
const
SkUUID
& v) {
return
!(u == v); }
17
18
#endif
// SkUUID_DEFINED
operator==
static bool operator==(const SkUUID &u, const SkUUID &v)
Definition:
SkUUID.h:13
operator!=
static bool operator!=(const SkUUID &u, const SkUUID &v)
Definition:
SkUUID.h:16
SkUUID
Definition:
SkUUID.h:9
SkUUID::fData
uint8_t fData[16]
Definition:
SkUUID.h:10
Generated on Sun Jun 23 2024 21:56:31 for Flutter Engine by
1.9.4