#ifndef icu4x_LocaleFallbackConfig_HPP #define icu4x_LocaleFallbackConfig_HPP #include "LocaleFallbackConfig.d.hpp" #include #include #include #include #include #include #include "../diplomat_runtime.hpp" #include "LocaleFallbackPriority.hpp" namespace icu4x { namespace capi { extern "C" { } // extern "C" } // namespace capi } // namespace inline icu4x::capi::LocaleFallbackConfig icu4x::LocaleFallbackConfig::AsFFI() const { return icu4x::capi::LocaleFallbackConfig { /* .priority = */ priority.AsFFI(), }; } inline icu4x::LocaleFallbackConfig icu4x::LocaleFallbackConfig::FromFFI(icu4x::capi::LocaleFallbackConfig c_struct) { return icu4x::LocaleFallbackConfig { /* .priority = */ icu4x::LocaleFallbackPriority::FromFFI(c_struct.priority), }; } #endif // icu4x_LocaleFallbackConfig_HPP