project_files/hwc/rtl/fileio.c
branchwebgl
changeset 9966 01e198990211
parent 7983 02f36c3e7f6c
child 10575 13b1e9008f4b
equal deleted inserted replaced
9964:12b0ed9910cd 9966:01e198990211
   214     }
   214     }
   215     return false;
   215     return false;
   216 }
   216 }
   217 
   217 
   218 void __attribute__((overloadable)) fpcrtl_flush(Text f) {
   218 void __attribute__((overloadable)) fpcrtl_flush(Text f) {
   219     printf("flush not implemented\n");
   219     fflush(f->fp);
   220     assert(0);
       
   221 }
   220 }
   222 
   221 
   223 void __attribute__((overloadable)) fpcrtl_flush(FILE *f) {
   222 void __attribute__((overloadable)) fpcrtl_flush(FILE *f) {
   224     fflush(f);
   223     fflush(f);
   225 }
   224 }