summaryrefslogtreecommitdiffstats
path: root/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.h b/utf8.h
index 159a7e8a..f5c64cde 100644
--- a/utf8.h
+++ b/utf8.h
@@ -42,9 +42,9 @@ typedef struct utf8_decoder {
int buf[8];
} utf8_decoder_t;
-int utf8_encode(wchar_t, int (*put)(int ch, void *ctx), void *ctx);
+int utf8_encode(wchar_t, int (*put)(int ch, mem_t *ctx), mem_t *ctx);
void utf8_decoder_init(utf8_decoder_t *);
-wint_t utf8_decode(utf8_decoder_t *,int (*get)(void *ctx), void *ctx);
+wint_t utf8_decode(utf8_decoder_t *,int (*get)(mem_t *ctx), mem_t *ctx);
FILE *w_fopen(const wchar_t *, const wchar_t *);
FILE *w_popen(const wchar_t *, const wchar_t *);