encoding.c: Support using wchar_t strings with the text decoder API.

This commit is contained in:
Reece H. Dunn
2017-03-30 22:52:38 +01:00
parent 2de0368d39
commit 6a0b5e4ae1
3 changed files with 48 additions and 0 deletions
+5
View File
@@ -36,6 +36,11 @@ text_decoder_decode_string(espeak_ng_TEXT_DECODER *decoder,
int length,
espeak_ng_ENCODING encoding);
espeak_ng_STATUS
text_decoder_decode_wstring(espeak_ng_TEXT_DECODER *decoder,
const wchar_t *string,
int length);
int
text_decoder_eof(espeak_ng_TEXT_DECODER *decoder);