Flutter Engine
The Flutter Engine
bridge.h
Go to the documentation of this file.
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
9extern "C" {
10#endif
11#include <stdbool.h>
12
13 bool init_skunicode_impl(char* impl);
15 void* toUpper(char* str);
16 void print(void* str);
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
double perf_compute_codeunit_flags(char *text)
Definition: bridge.cpp:48
void cleanup_unicode_impl()
Definition: bridge.cpp:40
void print(void *str)
Definition: bridge.cpp:126
bool trimSentence(char *text, int *sentence, int wordLimit)
Definition: bridge.cpp:92
void * getSentences(char *text, int *length)
Definition: bridge.cpp:79
int getFlags(int index)
Definition: bridge.cpp:68
bool init_skunicode_impl(char *impl)
Definition: bridge.cpp:19
void * toUpper(char *str)
Definition: bridge.cpp:117
size_t length
std::u16string text