X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Ffrotz%2Fglkio.h;h=ef54799324f8d6ee01755e45624e17dd5a80d3db;hb=HEAD;hp=8b0b9c0cb69cc61d4c871717be3252057a1a805b;hpb=1176f89bd245d6b6e8120e9fff55550eae733fbb;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/frotz/glkio.h b/interpreters/frotz/glkio.h index 8b0b9c0..ef54799 100644 --- a/interpreters/frotz/glkio.h +++ b/interpreters/frotz/glkio.h @@ -47,6 +47,8 @@ typedef struct glk_stream_struct FILE; #define fprintf(f,s,a) (glk_put_string_stream(f, a), 0) #undef fputc #define fputc(c, f) (glk_put_char_stream(f, (unsigned char)(c)), 0) +#undef fputwc +#define fputwc(c, f) (glk_put_char_stream_uni(f, (zchar)(c)), 0); #undef fputs #define fputs(s, f) (glk_put_buffer_stream(f, s, strlen(s)), 0) #undef ftell @@ -62,5 +64,5 @@ typedef struct glk_stream_struct FILE; #define SEEK_END seekmode_End FILE *frotzopenprompt(int flag); +FILE *frotzreopen(int flag); FILE *frotzopen(char *filename, int flag); -