]> git.mxchange.org Git - simgear.git/blobdiff - simgear/nasal/iolib.h
"io.flush() implementation from Melchior. Also add a final filetype
[simgear.git] / simgear / nasal / iolib.h
index 64d91719cecbe261801251a88d6b00b603c75314..7d4720001de42789fb1e3c580504c79e9355bbc1 100644 (file)
@@ -15,6 +15,7 @@ struct naIOType {
     int  (*write)(naContext c, void* f, char* buf, unsigned int len);
     void (*seek) (naContext c, void* f, unsigned int off, int whence);
     int  (*tell) (naContext c, void* f);
+    void (*flush) (naContext c, void* f);
     void (*destroy)(void* f);
 };