Flutter Engine
The Flutter Engine
third_party
skia
modules
skplaintexteditor
include
stringview.h
Go to the documentation of this file.
1
// Copyright 2019 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 stringview_DEFINED
4
#define stringview_DEFINED
5
6
#include <cstddef>
7
8
namespace
SkPlainTextEditor
{
9
10
template
<
typename
T>
11
struct
Span
{
12
T
*
data
;
13
std::size_t
size
;
14
};
15
16
using
StringView
=
Span<const char>
;
17
18
}
// namespace SkPlainTextEditor
19
#endif
// stringview_DEFINED
SkPlainTextEditor
Definition:
editor.h:24
T
#define T
Definition:
precompiler.cc:65
SkPlainTextEditor::Span
Definition:
stringview.h:11
SkPlainTextEditor::Span::size
std::size_t size
Definition:
stringview.h:13
SkPlainTextEditor::Span::data
T * data
Definition:
stringview.h:12
Generated on Sun Jun 23 2024 21:56:07 for Flutter Engine by
1.9.4