1cb93a386Sopenharmony_ci// Copyright 2019 Google LLC. 2cb93a386Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. 3cb93a386Sopenharmony_ci#ifndef word_boundaries_DEFINED 4cb93a386Sopenharmony_ci#define word_boundaries_DEFINED 5cb93a386Sopenharmony_ci 6cb93a386Sopenharmony_ci#include <cstddef> 7cb93a386Sopenharmony_ci#include <vector> 8cb93a386Sopenharmony_ci 9cb93a386Sopenharmony_ci// TODO: Decide if this functionality should be moved into SkShaper as an extra utility. 10cb93a386Sopenharmony_cistd::vector<bool> GetUtf8WordBoundaries(const char* begin, std::size_t byteLen, const char* locale); 11cb93a386Sopenharmony_ci 12cb93a386Sopenharmony_ci#endif // word_boundaries_DEFINED 13