icu_capi 2.3.1

C interface to ICU4X
Documentation
#ifndef DecomposingNormalizer_H
#define DecomposingNormalizer_H

#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

#include "DataError.d.h"
#include "DataProvider.d.h"

#include "DecomposingNormalizer.d.h"






DecomposingNormalizer* icu4x_DecomposingNormalizer_create_nfd_mv1(void);

typedef struct icu4x_DecomposingNormalizer_create_nfd_with_provider_mv1_result {union {DecomposingNormalizer* ok; DataError err;}; bool is_ok;} icu4x_DecomposingNormalizer_create_nfd_with_provider_mv1_result;
icu4x_DecomposingNormalizer_create_nfd_with_provider_mv1_result icu4x_DecomposingNormalizer_create_nfd_with_provider_mv1(const DataProvider* provider);

DecomposingNormalizer* icu4x_DecomposingNormalizer_create_nfkd_mv1(void);

typedef struct icu4x_DecomposingNormalizer_create_nfkd_with_provider_mv1_result {union {DecomposingNormalizer* ok; DataError err;}; bool is_ok;} icu4x_DecomposingNormalizer_create_nfkd_with_provider_mv1_result;
icu4x_DecomposingNormalizer_create_nfkd_with_provider_mv1_result icu4x_DecomposingNormalizer_create_nfkd_with_provider_mv1(const DataProvider* provider);

void icu4x_DecomposingNormalizer_normalize_mv1(const DecomposingNormalizer* self, DiplomatStringView s, DiplomatWrite* write);

bool icu4x_DecomposingNormalizer_is_normalized_mv1(const DecomposingNormalizer* self, DiplomatStringView s);

bool icu4x_DecomposingNormalizer_is_normalized_utf16_mv1(const DecomposingNormalizer* self, DiplomatString16View s);

size_t icu4x_DecomposingNormalizer_is_normalized_up_to_mv1(const DecomposingNormalizer* self, DiplomatStringView s);

size_t icu4x_DecomposingNormalizer_is_normalized_utf16_up_to_mv1(const DecomposingNormalizer* self, DiplomatString16View s);

void icu4x_DecomposingNormalizer_destroy_mv1(DecomposingNormalizer* self);





#endif // DecomposingNormalizer_H