31 lines
674 B
C++
31 lines
674 B
C++
#ifndef ICU4XUnitsConverter_H
|
|
#define ICU4XUnitsConverter_H
|
|
#include <stdio.h>
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
#include <stdbool.h>
|
|
#include "diplomat_runtime.h"
|
|
|
|
#ifdef __cplusplus
|
|
namespace capi {
|
|
#endif
|
|
|
|
typedef struct ICU4XUnitsConverter ICU4XUnitsConverter;
|
|
#ifdef __cplusplus
|
|
} // namespace capi
|
|
#endif
|
|
#ifdef __cplusplus
|
|
namespace capi {
|
|
extern "C" {
|
|
#endif
|
|
|
|
double ICU4XUnitsConverter_convert_f64(const ICU4XUnitsConverter* self, double value);
|
|
|
|
ICU4XUnitsConverter* ICU4XUnitsConverter_clone(const ICU4XUnitsConverter* self);
|
|
void ICU4XUnitsConverter_destroy(ICU4XUnitsConverter* self);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
} // namespace capi
|
|
#endif
|
|
#endif
|