Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
experimental
rust_cxx
main.cpp
Go to the documentation of this file.
1
// Copyright 2023 Google LLC
2
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3
4
// namespace hype_train
5
#include "experimental/rust_cxx/gen/hype-bridge.rs.h"
6
7
#include <
stdio.h
>
8
#include <string>
9
10
11
int
main
(
int
argc,
char
** argv) {
12
printf(
"Hello C++\n"
);
13
14
std::string words =
"it works"
;
15
16
hype_train::HypeOutput
result
= hype_train::hypeify(words, 3);
17
18
printf(
"%s\n"
,
result
.output.c_str());
19
printf(
"new len: %lu\n"
,
result
.new_len);
20
21
return
0;
22
}
result
GAsyncResult * result
Definition
fl_text_input_plugin.cc:106
main
Definition
main.py:1
stdio.h
Generated on Fri Apr 26 2024 06:15:58 for Flutter Engine by
1.9.8