xref: /aosp_15_r20/external/skia/modules/skplaintexteditor/src/word_boundaries.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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 word_boundaries_DEFINED
4 #define word_boundaries_DEFINED
5 
6 #include <cstddef>
7 #include <vector>
8 
9 // TODO: Decide if this functionality should be moved into SkShaper as an extra utility.
10 std::vector<bool> GetUtf8WordBoundaries(const char* begin, std::size_t byteLen, const char* locale);
11 
12 #endif  // word_boundaries_DEFINED
13