Debian Codegraph @

tools/unicode_comparison/cpp/bridge.h

raw
1 // Copyright 2023 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BRIDGE_H
6 #define BRIDGE_H
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 #include <stdbool.h>
12
13 bool init_skunicode_impl(char* impl);
14 void cleanup_unicode_impl();
15 void* toUpper(char* str);
16 void print(void* str);
17 double perf_compute_codeunit_flags(char* text);
18 int getFlags(int index);
19 void* getSentences(char* text, int* length);
20 bool trimSentence(char* text, int* sentence, int wordLimit);
21
22 #ifdef __cplusplus
23 } // extern "C"
24 #endif
25 #endif // BRIDGE_H