26 #if ! defined (octave_uniconv_wrappers_h)
27 #define octave_uniconv_wrappers_h 1
29 #if defined (__cplusplus)
37 #if defined __cplusplus
46 size_t srclen,
size_t *lengthp);
50 size_t srclen,
size_t *lengthp);
54 size_t srclen,
size_t *lengthp);
58 size_t srclen,
size_t *lengthp);
62 size_t srclen,
size_t *lengthp);
66 size_t srclen,
size_t *lengthp);
70 size_t srclen,
size_t *lengthp);
74 size_t srclen,
size_t *lengthp);
78 (
const char *fromcode,
const char *src,
size_t srclen,
79 size_t *offsets,
size_t *lengthp);
83 (
const char *tocode,
const uint8_t *src,
size_t srclen,
84 size_t *offsets,
size_t *lengthp);
90 #if defined __cplusplus
uint8_t * octave_u8_conv_from_encoding_offsets(const char *fromcode, const char *src, size_t srclen, size_t *offsets, size_t *lengthp)
char * octave_u8_conv_to_encoding_offsets(const char *tocode, const uint8_t *src, size_t srclen, size_t *offsets, size_t *lengthp)
uint16_t * octave_u16_conv_from_encoding(const char *fromcode, const char *src, size_t srclen, size_t *lengthp)
wchar_t * u8_to_wchar(const char *u8_char)
uint8_t * octave_u8_conv_from_encoding(const char *fromcode, const char *src, size_t srclen, size_t *lengthp)
char * octave_u32_conv_to_encoding_strict(const char *tocode, const uint32_t *src, size_t srclen, size_t *lengthp)
uint16_t * octave_u16_conv_from_encoding_strict(const char *fromcode, const char *src, size_t srclen, size_t *lengthp)
char * octave_u8_conv_to_encoding(const char *tocode, const uint8_t *src, size_t srclen, size_t *lengthp)
char * octave_u8_conv_to_encoding_strict(const char *tocode, const uint8_t *src, size_t srclen, size_t *lengthp)
char * octave_u16_conv_to_encoding(const char *tocode, const uint16_t *src, size_t srclen, size_t *lengthp)
char * octave_u16_conv_to_encoding_strict(const char *tocode, const uint16_t *src, size_t srclen, size_t *lengthp)
char * u8_from_wchar(const wchar_t *wc)