• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef icu4x_CodePointRangeIteratorResult_D_HPP
2 #define icu4x_CodePointRangeIteratorResult_D_HPP
3 
4 #include <stdio.h>
5 #include <stdint.h>
6 #include <stddef.h>
7 #include <stdbool.h>
8 #include <memory>
9 #include <functional>
10 #include <optional>
11 #include "../diplomat_runtime.hpp"
12 
13 
14 namespace icu4x {
15 namespace capi {
16     struct CodePointRangeIteratorResult {
17       char32_t start;
18       char32_t end;
19       bool done;
20     };
21 
22     typedef struct CodePointRangeIteratorResult_option {union { CodePointRangeIteratorResult ok; }; bool is_ok; } CodePointRangeIteratorResult_option;
23 } // namespace capi
24 } // namespace
25 
26 
27 namespace icu4x {
28 struct CodePointRangeIteratorResult {
29   char32_t start;
30   char32_t end;
31   bool done;
32 
33   inline icu4x::capi::CodePointRangeIteratorResult AsFFI() const;
34   inline static icu4x::CodePointRangeIteratorResult FromFFI(icu4x::capi::CodePointRangeIteratorResult c_struct);
35 };
36 
37 } // namespace
38 #endif // icu4x_CodePointRangeIteratorResult_D_HPP
39