From 673d5f3b84d276fb29233d6a3f485ccfe330be13 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 12 Nov 2009 22:48:15 -0800 Subject: Continuing wchar_t conversion. Making sure all stdio calls use wide character functions so that there is no illicit mixing. (But the goal is to replace this usage with txr streams). --- stream.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stream.h') diff --git a/stream.h b/stream.h index 13b428c0..893aabfe 100644 --- a/stream.h +++ b/stream.h @@ -35,10 +35,10 @@ obj_t *make_dir_stream(DIR *); obj_t *close_stream(obj_t *stream, obj_t *throw_on_error); obj_t *get_line(obj_t *); obj_t *get_char(obj_t *); -obj_t *vformat(obj_t *stream, const wchar_t *string, va_list); /* nao-term */ -obj_t *vcformat(obj_t *stream, const char *string, va_list); /* printf-style */ +obj_t *vformat(obj_t *stream, const wchar_t *string, va_list); +obj_t *vcformat(obj_t *stream, const wchar_t *string, va_list); obj_t *format(obj_t *stream, const wchar_t *string, ...); -obj_t *cformat(obj_t *stream, const char *string, ...); +obj_t *cformat(obj_t *stream, const wchar_t *string, ...); obj_t *put_string(obj_t *stream, obj_t *string); obj_t *put_line(obj_t *stream, obj_t *string); obj_t *put_cstring(obj_t *stream, const wchar_t *); -- cgit v1.2.3