#ifndef UCS4_H_ #define UCS4_H_ #ifdef __cplusplus extern "C" { #endif #include <stdint.h> typedef uint32_t UCS4; UCS4 *ucs4FromUtf8(const char *utf8, int len8, int *plen4); int ucs4Len(const UCS4 *ucs4); char *utf8FromUCS4(const UCS4 *ucs4, int len4, int *plen8); #ifdef __cplusplus } #endif #endif // UCS4_H_