tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

IsoWeekOfYear.d.hpp (803B)


      1 #ifndef icu4x_IsoWeekOfYear_D_HPP
      2 #define icu4x_IsoWeekOfYear_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 <cstdlib>
     12 #include "../diplomat_runtime.hpp"
     13 
     14 
     15 namespace icu4x {
     16 namespace capi {
     17    struct IsoWeekOfYear {
     18      uint8_t week_number;
     19      int32_t iso_year;
     20    };
     21 
     22    typedef struct IsoWeekOfYear_option {union { IsoWeekOfYear ok; }; bool is_ok; } IsoWeekOfYear_option;
     23 } // namespace capi
     24 } // namespace
     25 
     26 
     27 namespace icu4x {
     28 struct IsoWeekOfYear {
     29  uint8_t week_number;
     30  int32_t iso_year;
     31 
     32  inline icu4x::capi::IsoWeekOfYear AsFFI() const;
     33  inline static icu4x::IsoWeekOfYear FromFFI(icu4x::capi::IsoWeekOfYear c_struct);
     34 };
     35 
     36 } // namespace
     37 #endif // icu4x_IsoWeekOfYear_D_HPP