ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
Decomposed.hpp
Go to the documentation of this file.
1#ifndef ICU4X_Decomposed_HPP
2#define ICU4X_Decomposed_HPP
3
4#include "Decomposed.d.hpp"
5
6#include <stdio.h>
7#include <stdint.h>
8#include <stddef.h>
9#include <stdbool.h>
10#include <memory>
11#include <functional>
12#include <optional>
13#include <cstdlib>
14#include "diplomat_runtime.hpp"
15
16
17namespace icu4x {
18namespace capi {
19
20} // namespace capi
21} // namespace
22
23
24inline icu4x::capi::Decomposed icu4x::Decomposed::AsFFI() const {
25 return icu4x::capi::Decomposed {
26 /* .first = */ first,
27 /* .second = */ second,
28 };
29}
30
31inline icu4x::Decomposed icu4x::Decomposed::FromFFI(icu4x::capi::Decomposed c_struct) {
32 return icu4x::Decomposed {
33 /* .first = */ c_struct.first,
34 /* .second = */ c_struct.second,
35 };
36}
37
38
39#endif // ICU4X_Decomposed_HPP
Definition Bidi.d.hpp:13
char32_t first
Definition Decomposed.d.hpp:36
char32_t second
Definition Decomposed.d.hpp:37