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 (
const char *fromcode,
const char *src,
size_t srclen,
63 size_t *offsets,
size_t *lengthp);
67 (
const char *tocode,
const uint8_t *src,
size_t srclen,
68 size_t *offsets,
size_t *lengthp);
74 #if defined __cplusplus
OCTAVE_API char * octave_u32_conv_to_encoding_strict(const char *tocode, const uint32_t *src, size_t srclen, size_t *lengthp)
OCTAVE_API char * octave_u8_conv_to_encoding_offsets(const char *tocode, const uint8_t *src, size_t srclen, size_t *offsets, size_t *lengthp)
OCTAVE_API wchar_t * u8_to_wchar(const char *u8_char)
OCTAVE_API char * octave_u8_conv_to_encoding(const char *tocode, const uint8_t *src, size_t srclen, size_t *lengthp)
OCTAVE_API char * u8_from_wchar(const wchar_t *wc)
OCTAVE_API uint8_t * octave_u8_conv_from_encoding(const char *fromcode, const char *src, size_t srclen, size_t *lengthp)
OCTAVE_API char * octave_u8_conv_to_encoding_strict(const char *tocode, const uint8_t *src, size_t srclen, size_t *lengthp)
OCTAVE_API uint8_t * octave_u8_conv_from_encoding_offsets(const char *fromcode, const char *src, size_t srclen, size_t *offsets, size_t *lengthp)