Updated interpreters
[projects/chimara/chimara.git] / interpreters / frotz / glkio.h
index 8b0b9c0cb69cc61d4c871717be3252057a1a805b..ef54799324f8d6ee01755e45624e17dd5a80d3db 100644 (file)
@@ -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);
-