Переглянути джерело

[lua] add override for FileOutput.close

Justin Donaldson 9 роки тому
батько
коміт
5784d5e773
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      std/lua/_std/sys/io/FileOutput.hx

+ 4 - 0
std/lua/_std/sys/io/FileOutput.hx

@@ -47,4 +47,8 @@ class FileOutput extends haxe.io.Output {
 		f.write(String.fromCharCode(c));
 		f.write(String.fromCharCode(c));
 	}
 	}
 
 
+	override public function close() {
+		f.close();
+	}
+
 }
 }